-
Hello to all.
You have already eard about that paid for surf bars, when they apear they change the size of the desktop but i have one that when it closes itself don“t change the size of the desktop to is original size, is there any api function that do that.
thank you.
-
[code]
Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Type APPBARDATA
cbSize As Long
hwnd As Long
uCallbackMessage As Long
uEdge As Long
rc As RECT
lParam As Long ' message specific
End Type
Declare Function SHAppBarMessage Lib "shell32.dll" (ByVal dwMessage As Long, pData As APPBARDATA) As Long
Public Const ABM_REMOVE = &H1
[Code]
I'm not sure but i think you can acces external appbars if you just specify the hwnd of the window that is an appbar, you can use findwindow to get the appbars handle.
The ABM_REMOVE message should remove the appbar and restore the original size