|
-
Oct 2nd, 2001, 03:49 AM
#1
Thread Starter
Addicted Member
Help!! Dockable toolbar reserving screen space through an API call - how to release?
Sorry if this seems obvious to people, but I'm still quite new to vb
and don't yet understand API calls properly, so apologies if this
seems to much of a noddy question.
I'm putting together a dockable toolbar app, using great code for
the toolbar which I found here:
http://www.vbsquare.com/activex/docablebar-demo/
However, someone has commented (here:
http://www.vbsquare.com/php-bin/feed...cktopicid=1786 )
that this code reserves screen space through and API call, and
then doesn't release it to the system after execution stops.
Apparently, this is "easily fixed"
The sixty million dollar question is how? 
If anyone could help me with some code as to how to do this,
and maybe even explain what that code is doing, i'd be hugely
grateful. The toolbar itself is great, exactly what i need, but I'm
a bit worried about using it because of this problem
(oh, i've tried emailing the author of the code, but i get an
undeliverable message error, probably because he seems to have
written the code in '97, so probably doesn't still use the same
email address)
Thanks in advance!!
-
Jan 18th, 2002, 11:52 AM
#2
Member
Try this
AppBar.Detach
I noticed my desktop was resized again after calling this. I used it on a a command button to exit app.
So for example:
Private Sub Command1_Click()
AppBar.Detach
Unload
End Sub
-
Jan 18th, 2002, 07:39 PM
#3
Member
Correction:
Private Sub Command1_Click()
AppBar.Detach
End
End Sub
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
|