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
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 24 times
- Been thanked: 2 times
- Contact:
Fullscreen with CE 5.0
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 42520
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 24 times
- Been thanked: 2 times
- 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 24 times
- Been thanked: 2 times
- Contact:
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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 42520
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42520
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- 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: 42520
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- 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
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 24 times
- Been thanked: 2 times
- Contact:
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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************