Thread View: borland.public.cppbuilder.nativeapi
5 messages
5 total messages
Started by Job
Tue, 10 Jul 2007 08:18
Creating a fullscreen window
Author: Job
Date: Tue, 10 Jul 2007 08:18
Date: Tue, 10 Jul 2007 08:18
3 lines
1018 bytes
1018 bytes
How to create a fullscreen window (hiding the taskbar)? Carl
Re: Creating a fullscreen window
Author: Job
Date: Tue, 10 Jul 2007 11:17
Date: Tue, 10 Jul 2007 11:17
12 lines
1215 bytes
1215 bytes
I just did find out that with a second window using BorderStyle bsSingle I can do this (wsMaximized). It doesn't work on primary window (Form1) by some reason. Carl "Job" <no.mail@please.no> skrev i meddelandet news:469340eb$1@newsgroups.borland.com... > How to create a fullscreen window (hiding the taskbar)? > > Carl >
Re: Creating a fullscreen window
Author: Ed Mulroy [TeamB]
Date: Tue, 10 Jul 2007 11:32
Date: Tue, 10 Jul 2007 11:32
23 lines
1532 bytes
1532 bytes
Try doing something like this:
-------------------------
HWND task_hwnd = ::FindWindow("Shell_traywnd", "");
if (task_hwnd)
{
::ShowWindow(task_hwnd, SW_HIDE);
-------------------------
And at program end when you are restoring things
-------------------------
::ShowWindow(task_hwnd, SW_SHOW);
-------------------------
. Ed
> Job wrote in message
> news:469340eb$1@newsgroups.borland.com...
>
> How to create a fullscreen window (hiding the taskbar)?
Re: Creating a fullscreen window
Author: Job
Date: Tue, 10 Jul 2007 13:30
Date: Tue, 10 Jul 2007 13:30
31 lines
1636 bytes
1636 bytes
Thanks for your suggestion!
Carl
"Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> skrev i meddelandet
news:46936e37$1@newsgroups.borland.com...
> Try doing something like this:
>
> -------------------------
> HWND task_hwnd = ::FindWindow("Shell_traywnd", "");
>
> if (task_hwnd)
> {
> ::ShowWindow(task_hwnd, SW_HIDE);
>
> -------------------------
>
> And at program end when you are restoring things
>
> -------------------------
> ::ShowWindow(task_hwnd, SW_SHOW);
> -------------------------
>
> . Ed
>
>> Job wrote in message
>> news:469340eb$1@newsgroups.borland.com...
>>
>> How to create a fullscreen window (hiding the taskbar)?
>
>
Re: Creating a fullscreen window
Author: Job
Date: Tue, 10 Jul 2007 13:38
Date: Tue, 10 Jul 2007 13:38
20 lines
1565 bytes
1565 bytes
Wrote an error: BorderStyle shall be bsNone, nothing else! Carl "Job" <no.mail@please.no> skrev i meddelandet news:46936ac8$1@newsgroups.borland.com... >I just did find out that with a second window using BorderStyle bsSingle I >can do this (wsMaximized). It doesn't work on primary window (Form1) by >some reason. > > Carl > > "Job" <no.mail@please.no> skrev i meddelandet > news:469340eb$1@newsgroups.borland.com... >> How to create a fullscreen window (hiding the taskbar)? >> >> Carl >> > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads