G
Guest
Hi All,
i wanted to create a full screen application that takes the whole screen
area and prevents the user from interacting with anything else in the pecket
pc device.
i created a new pocket pc application and changed the following properties
of the main form :
- FormBorderStyle set to None
- Window State set to Maximized
- ControlBox set to False
- MinimizeBox set to False
- MaximizeBox set to False
i added the following code in the form constructoe :
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Capture = True
Dim hwnd As IntPtr = Utilities.GetCapture()
Capture = False
Utilities.SHFullScreen(hwnd, Utilities.SHFS_HIDETASKBAR Or
Utilities.SHFS_HIDESTARTICON)
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
everything worked just then i added a button to the form to open a new form
using the following code
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Dim f As New Form2
f.Show()
End Sub
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
in this new form i chenged the following properties
- MinimizeBox set to False
- MaximizeBox set to False
i run the app and the two forms are displayed in full screen mode and the
start icon is hidden
but when i added a main menu to the second form (so that i can use the input
panel)
the start icon is displayed
now how can i prenvent the display of the start icon
i wanted to create a full screen application that takes the whole screen
area and prevents the user from interacting with anything else in the pecket
pc device.
i created a new pocket pc application and changed the following properties
of the main form :
- FormBorderStyle set to None
- Window State set to Maximized
- ControlBox set to False
- MinimizeBox set to False
- MaximizeBox set to False
i added the following code in the form constructoe :
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Capture = True
Dim hwnd As IntPtr = Utilities.GetCapture()
Capture = False
Utilities.SHFullScreen(hwnd, Utilities.SHFS_HIDETASKBAR Or
Utilities.SHFS_HIDESTARTICON)
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
everything worked just then i added a button to the form to open a new form
using the following code
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Dim f As New Form2
f.Show()
End Sub
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
in this new form i chenged the following properties
- MinimizeBox set to False
- MaximizeBox set to False
i run the app and the two forms are displayed in full screen mode and the
start icon is hidden
but when i added a main menu to the second form (so that i can use the input
panel)
the start icon is displayed
now how can i prenvent the display of the start icon