To all,
Does someone know how to bring the taskbar in background with CE 5.0?
I use:
ShFullScreen( oWnd:hwnd, SHFS_HIDESTARTICON )
ShFullScreen( oWnd:hwnd, SHFS_HIDETASKBAR )
ShFullScreen( oWnd:hwnd, SHFS_HIDESIPBUTTON )
but with this new CE 5.o device the TASKBAR is still there.
Thanks in advance
Otto
Fullscreen with CE 5.0
- Antonio Linares
- Site Admin
- Posts: 44515
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Fullscreen with CE 5.0
Hello Antonio,
thank you for your answer.
I tried your suggestion but with no success. Where exactly should I insert the line.
I tried before the “define window” and in “ON INIT”.
It is the Titlebar which I need to hide.
Thanks in advance
Otto
thank you for your answer.
I tried your suggestion but with no success. Where exactly should I insert the line.
I tried before the “define window” and in “ON INIT”.
It is the Titlebar which I need to hide.
Thanks in advance
Otto
Re: Fullscreen with CE 5.0
Hello Mauricio,
thank you for your help.
But I need to switch off titlebar.
This is only working for taskbar.
Do you have another idea?
Best regards,
Otto
thank you for your help.
But I need to switch off titlebar.
This is only working for taskbar.
Do you have another idea?
Best regards,
Otto
- Antonio Linares
- Site Admin
- Posts: 44515
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 44515
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Fullscreen with CE 5.0
Otto,
In FWPPC Class TWindow you have to modify this line:
In FWPPC Class TWindow you have to modify this line:
Code: Select all | Expand
...
if ::ClassName() == "TWINDOW" .and. GetPlatform() != "PocketPC" // Windows CE requiremnt
::nStyle = nOr( ::nStyle, WS_SYSMENU ) // , WS_CAPTION )
endif
- Antonio Linares
- Site Admin
- Posts: 44515
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Fullscreen with CE 5.0
Otto,
If you don't want to modify the original Class TWindow then you can do it this way:
If you don't want to modify the original Class TWindow then you can do it this way:
Code: Select all | Expand
#include "FWCE.ch"
function Main()
local oWnd := TMyWindow():New()
ACTIVATE WINDOW oWnd ;
ON CLICK oWnd:End()
return nil
CLASS TMyWindow FROM TWindow
CLASSDATA lRegistered AS LOGICAL INIT .F.
ENDCLASS
Re: Fullscreen with CE 5.0
Hello Antonio,
thank you very much. The program program is working now without a titlebar.
BEst regards,
Otto
thank you very much. The program program is working now without a titlebar.
BEst regards,
Otto