|
-
Jan 11th, 2003, 08:58 AM
#1
Thread Starter
Lively Member
"Dock" form to desktop
I need is some "simple" code that, how to say, "reserves" space to the right of the screen like for instance the ICQ contact list does, to ensure that all normal windows does not overlap.
Does anyone know how to do this? I have found huge modules that allows you to create a docking toolbar like the MS Office one that can be moved around and docked at every screen border etc. but I cannot find out how much and which code from these giant modules I should use.
Example: http://www.pscode.com/vb/scripts/Sho...22898&lngWId=1
Machine Language: You try to shoot yourself in
the foot only to discover you must first reinvent the
gun, gunpowder, the bullet, and your foot.
-
Jan 11th, 2003, 11:32 AM
#2
-
Jan 11th, 2003, 02:07 PM
#3
Thread Starter
Lively Member
SetWindowPos just adjusts the window so that it is on top. What I need is to "push" the other windows to the right so that they do not overlap, even if the other windows are maximized they must not fill the entire screen.
Machine Language: You try to shoot yourself in
the foot only to discover you must first reinvent the
gun, gunpowder, the bullet, and your foot.
-
Jan 11th, 2003, 09:45 PM
#4
Addicted Member
Check into ShAppBarMessage...
API Declaration:
VB Code:
Public Declare Function SHAppBarMessage Lib "shell32.dll" Alias "SHAppBarMessage" (ByVal dwMessage As Long, pData As APPBARDATA) As Long
Patience and perserverence have a magical effect before which difficulties disappear and obstacles vanish.
John Quincy Adams
-
Jan 14th, 2003, 01:52 PM
#5
Thread Starter
Lively Member
I have tried to work around with that API but I cannot find out how it works entirely. Anyone??
Machine Language: You try to shoot yourself in
the foot only to discover you must first reinvent the
gun, gunpowder, the bullet, and your foot.
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
|