How to suppress Navigation bar during dialog popup

  • Thread starter Thread starter Silicon.Valet
  • Start date Start date
S

Silicon.Valet

I've got an app in C# for the pocket pc that runs full screen without
trouble. however, when I launch a dialog box, the start menu/navigation
bar shows up. How can I stop it from showing? I've tried pInvoking
SHFullscreen in both the main form and the dialog, any further
suggestions?
 
Hi,
Though I dont know much about C# syntax, i can tell you that you may
try this:

U can also write the following code with SHFullScreen:

Declare Function FindWindow Lib "Coredll" Alias "FindWindowW" (ByVal
lpClassName As String, ByVal lpWindowName As String) As IntPtr

Declare Function ShowWindow Lib "Coredll" Alias "ShowWindow" (ByVal
hWnd As IntPtr, ByVal nCmdShow As Integer) As Integer

Calling the api:
ShowWindow(FindWindow("HHTaskBar", Nothing), modUtil.SW_HIDE)

this will explicitely hide the taskbar and the titlebar.

incase you still have a doubt , please let me know.
 
Back
Top