Hi all,
I am facing an interesting challenge - I don't know if lazarus CAN do what I 
want, if not I suppose I shall have to write an extra plugin using plain 
fpc+sdl - though I would VERY much prefer not to have to.

What I need is a way to do a TRUE fullscreen mode form. Specifically this form 
should make it IMPOSSIBLE to get to the desktop behind it until it's closed.

It should capture the keyboard ENTIRELY so that Alt+Tab won't work - and cover 
up all icons, taskbars etc.

Now my first thought was:
Set :
BorderStyle = BsNone
Set Window size to equal screen resolution (I have a component to get that in 
a platform independent way).


Troubles:
Under linux - the window manager typically will prevent you from covering 
taskbars (at least under KDE) - and e.g. your form will appear maximised but 
not fully cover the screen.
I still haven't COMPLETELY caught the keyboard.

Now possibly fsStayOnTop might help here ? Will it set the needed 
windowmanager hints to allow a form to cover taskbars under Linux ? 
Can this be done ? Perhaps through a call to form.handle with a direct GTK 
function (obviously the windows version will be something else - what would 
that be ?)

Basically I don't know if lazarus CAN do what I need for this part... and 
before I can finalize design, I need to know if this will be a form inside 
the app or a sepperate program altogether acting as a plugin.

TIA

A.J.
-- 
"80% Of a hardware engineer's job is application of the uncertainty principle.
80% of a software engineer's job is pretending this isn't so."
A.J. Venter
Chief Software Architect
OpenLab International
http://www.getopenlab.com       | +27 83 455 99 78 (South Africa)
http://www.silentcoder.co.za    | +55 118 162 2079 (Brazil)

Attachment: pgpITnRtEI6Sm.pgp
Description: PGP signature

Reply via email to