|
-
Sep 11th, 2000, 05:48 AM
#1
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.
-
Sep 11th, 2000, 06:31 AM
#2
transcendental analytic
[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
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|