WINCE遮盖任务栏

前端之家收集整理的这篇文章主要介绍了WINCE遮盖任务栏前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

<DllImport("aygshell.dll")> _
Friend Shared Function SHFullScreen(ByVal hWnd As IntPtr,ByVal dwState As Integer) As Boolean
End Function

Const SHFS_SHOWTASKBAR = &H1 '任务栏
Const SHFS_HIDETASKBAR = &H2
Const SHFS_SHOWSIPBUTTON = &H4 '输入法
Const SHFS_HIDESIPBUTTON = &H8
Const SHFS_SHOWSTARTICON = &H10 '开始菜单
Const SHFS_HIDESTARTICON = &H20

Private Function FullScreen(ByVal hWnd As IntPtr,ByVal IsFull As Boolean) As Boolean Dim dwState As Integer dwState = 0 If IsFull Then dwState = SHFS_HIDETASKBAR Or SHFS_HIDESIPBUTTON Or SHFS_HIDESTARTICON Else dwState = SHFS_SHOWTASKBAR Or SHFS_SHOWSIPBUTTON Or SHFS_SHOWSTARTICON End If FullScreen = SHFullScreen(hWnd,dwState) End Function

原文链接:https://www.f2er.com/vb/260807.html

猜你在找的VB相关文章