Recent

Author Topic: KOL-CE on PNA  (Read 5857 times)

bobby100

  • Full Member
  • ***
  • Posts: 161
    • Malzilla
KOL-CE on PNA
« on: September 13, 2009, 08:57:45 pm »
I'm just starting my adventures in WinCE world, so I got to some beginner problems.
I'm trying to create a start-up menu for my GPS (Becker Z103 with WinCE 5.0)
I'm using KOL-CE because of EXE-size, but I got into problems with fullscreen.
There is no Desktop on my PNA, so I have no taskbar, but I can't get KOL-CE to draw on the area where the taskbar is to be found on PDA devices.
My app can't extend to the bottom of the screen. I always get a gray strip on the bottom of the screen.

Is there any solution for this problem?
https://gitlab.com/bobby100 - my Lazarus components and units
https://sourceforge.net/u/boban_spasic/profile/ - my open source apps

https://malzilla.org/ - remainder at my previous life as a web security expert

chrgra

  • Jr. Member
  • **
  • Posts: 69
Re: KOL-CE on PNA
« Reply #1 on: September 13, 2009, 09:21:59 pm »
hello,

for the bottom bar, i have no solution, but for the taskbar i do the following

procedure TForm1.KOLForm1Show(Sender: PObj);
{$ifdef wince}
Var
  hTaskBar : handle;
{$endif}
begin
  {$ifdef wince}
  //hiding the taskbar, but a for you the taskbar has allready been hidden?
  hTaskBar := findwindow('HHTaskBar','');
  ShowWindow(hTaskBar,SW_HIDE);
  {$endif}
 // i think the following three lines will do the trick
  form.HasCaption:=false;
  form.Top:= 1;
  form.Height := 320;

end;   


regards chris Gradussen

bobby100

  • Full Member
  • ***
  • Posts: 161
    • Malzilla
Re: KOL-CE on PNA
« Reply #2 on: September 13, 2009, 09:29:37 pm »
Thanks, but I made a mistake in my explanation of the problem.
(I have forgot that taskbar is on top of the screen on PDAs)
I have no problem with the top part of the screen, but with the bottom part of the screen.
There is a gray strip on the bottom part of the screen that I can't get rid of.
https://gitlab.com/bobby100 - my Lazarus components and units
https://sourceforge.net/u/boban_spasic/profile/ - my open source apps

https://malzilla.org/ - remainder at my previous life as a web security expert

 

TinyPortal © 2005-2018