Fullscreen with CE 5.0

Fullscreen with CE 5.0

Postby Otto » Mon Aug 23, 2010 6:13 pm

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Fullscreen with CE 5.0

Postby Antonio Linares » Tue Aug 24, 2010 12:27 am

Otto,

Try this:

ShowWindow( FindWindow( "Shell_TrayWnd", 0 ), 0 )

viewtopic.php?p=15392#p15392
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fullscreen with CE 5.0

Postby Otto » Tue Aug 24, 2010 3:13 pm

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Fullscreen with CE 5.0

Postby Maurizio » Tue Aug 24, 2010 4:43 pm

Ciao Otto

Start - Setting - Taskbar and Start Menu

Maurizio
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Re: Fullscreen with CE 5.0

Postby Otto » Wed Aug 25, 2010 6:39 am

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Fullscreen with CE 5.0

Postby Antonio Linares » Wed Aug 25, 2010 9:30 am

Otto,

Do you mean that you want to show a window without its caption ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fullscreen with CE 5.0

Postby Antonio Linares » Wed Aug 25, 2010 9:45 am

Otto,

In FWPPC Class TWindow you have to modify this line:
Code: Select all  Expand view  RUN

   ...
   if ::ClassName() == "TWINDOW" .and. GetPlatform() != "PocketPC" // Windows CE requiremnt
      ::nStyle = nOr( ::nStyle, WS_SYSMENU ) // , WS_CAPTION )
   endif  
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fullscreen with CE 5.0

Postby Antonio Linares » Wed Aug 25, 2010 2:43 pm

Otto,

If you don't want to modify the original Class TWindow then you can do it this way:

Code: Select all  Expand view  RUN
#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
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fullscreen with CE 5.0

Postby Otto » Wed Aug 25, 2010 4:08 pm

Hello Antonio,
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
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 2 guests