M
massimo capetola
I would like to make invisible the SIP button in my VB.net project, here is
what I do on load event of the form "frmToto"
Dim hWnd As IntPtr = FindWindow(Nothing, "frmToto")
RC = SHFullScreen(hWnd, SHFS_HIDESIPBUTTON)
The "SHFullScreen" return True, but my SIP button is still visible.
What is wrong in my code?
my API declaration:
Public Declare Function SHFullScreen Lib "aygshell" (ByVal hwndRequester As
IntPtr, ByVal dwState As Integer) As Boolean
Public Declare Function FindWindow Lib "Coredll" Alias "FindWindowW" (ByVal
lpClassName As String, ByVal lpWindowName As String) As IntPtr
what I do on load event of the form "frmToto"
Dim hWnd As IntPtr = FindWindow(Nothing, "frmToto")
RC = SHFullScreen(hWnd, SHFS_HIDESIPBUTTON)
The "SHFullScreen" return True, but my SIP button is still visible.
What is wrong in my code?
my API declaration:
Public Declare Function SHFullScreen Lib "aygshell" (ByVal hwndRequester As
IntPtr, ByVal dwState As Integer) As Boolean
Public Declare Function FindWindow Lib "Coredll" Alias "FindWindowW" (ByVal
lpClassName As String, ByVal lpWindowName As String) As IntPtr