FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Fullscreen with CE 5.0
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Fullscreen with CE 5.0
Posted: Mon Aug 23, 2010 06: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fullscreen with CE 5.0
Posted: 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
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Fullscreen with CE 5.0
Posted: Tue Aug 24, 2010 03: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

Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: Fullscreen with CE 5.0
Posted: Tue Aug 24, 2010 04:43 PM

Ciao Otto

Start - Setting - Taskbar and Start Menu

Maurizio

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Fullscreen with CE 5.0
Posted: Wed Aug 25, 2010 06: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fullscreen with CE 5.0
Posted: Wed Aug 25, 2010 09:30 AM

Otto,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fullscreen with CE 5.0
Posted: Wed Aug 25, 2010 09:45 AM
Otto,

In FWPPC Class TWindow you have to modify this line:
Code (fw): Select all Collapse
   ...
   if ::ClassName() == "TWINDOW" .and. GetPlatform() != "PocketPC" // Windows CE requiremnt
      ::nStyle = nOr( ::nStyle, WS_SYSMENU ) // , WS_CAPTION )
   endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fullscreen with CE 5.0
Posted: Wed Aug 25, 2010 02:43 PM
Otto,

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

Code (fw): Select all Collapse
#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
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Fullscreen with CE 5.0
Posted: Wed Aug 25, 2010 04:08 PM

Hello Antonio,
thank you very much. The program program is working now without a titlebar.
BEst regards,
Otto

Continue the discussion