On Wed, 9 Aug 2006, A.J. Venter wrote:
> 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.
I'm not sure that X/The Window manager can do what you want ?
This is not a Lazarus matter alone.
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives