Author Topic: HowTo: FullScreen application (TaskBar + BottomBar not visible)  (Read 3610 times)


  • Full Member
  • ***
  • Posts: 101
Hi all,

let me first time contribute here.
I`d like to show you how to create fullscreen application for windows mobile.

We need following ingrediences :)
1, Form designer -> Properties of Form1 (or FormX/Y/Z etc)
  BorderStyle -> bsNone
  BorderIcons -> []
  WindowState -> wsMaximized

2, Code required

  a, Form1.Show (handle property exists, dont be afraid)
      SetWindowPos(Handle, HWND_TOPMOST, 0, 0, GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN), SWP_SHOWWINDOW);   // fullscreen

  b, Form1.Activate
    ShowWindow (SHFindMenuBar(Handle), SW_HIDE); // hides bottom bar

  c, Form1.Deactivate
      SipShowIM(SIPF_OFF); // hide keyboard - not required

PS: this worked for me, but your mileage may vary

  Guide me God and I`ll find you


  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: HowTo: FullScreen application (TaskBar + BottomBar not visible)
« Reply #1 on: July 13, 2014, 01:55:26 pm »
Hi vincococka,

Thanks for posting & welcome! If you want to, you can also/instead contribute this kind of info on the wiki where it is perhaps a bit easier to find, e.g. on this page:

... but of course, contributing on the forum is fine, too!
Want quicker answers to your questions? Read

Open source including papertiger OCR/PDF scanning:

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified


TinyPortal © 2005-2018