hi all,
i use AnimateWindow API which make this ugly ballon in the task bar after program terminated,
how can i kill my app's ballon?
waiting for F.B
thanx on advance
Printable View
hi all,
i use AnimateWindow API which make this ugly ballon in the task bar after program terminated,
how can i kill my app's ballon?
waiting for F.B
thanx on advance
hmm.. wich OS do you use? I have win98 and never saw any balloons after using AnimateWindow... how do they look? grey or do you mean a balloon style tooltip?
my OS is win98 v2
here's the code i use for showing :
for hiding :Code:AnimateWindow Me.hwnd, 300, AW_CENTER Or AW_ACTIVATE
to see the ballon :Code:AnimateWindow Me.hwnd, 300, AW_CENTER Or AW_HIDE
set form1 = nothing
[img]
http://geocities.com/one2one22/ballon.gif
[/img]
bYe
hmmm.. I don't know what your definition of balloon is, but I thought you meant a round thingy with helium (or air, whatever ya want) in it, you know? that shape...
But I can't seem to see you balloon, do you mean just the icon in the systray?
I'm a bit :confused:
please review this link http://geocities.com/one2one22/ballon.gif
bYe
I did, my friend... but what do you mean with the ballon?
that thing you draw with paint or something else? Can anyone else see what he means?
He's talking about the captionless button that remains in the taskbar after his application is finished.
Well, I'm not sure, but you can try this:
when you 'hide' your window. I did some testing and this made the 'balloon' go away while the form was hidden (not unloaded).Code:Form2.Hide
Form2.ClipControls = False
Form2.Caption = ""
Optionally, if you need to take the form out of memory use:
These two lines will take the form out of memory or unload the form.Code:Unload Me 'This is for the form itself
Unload Form1 'The name of the form in your project
Or, if you don't want the window to show in the taskbar at all, just set ShowInTaskbar to False during design time.
hmmm.. why do you call it a balloon? hehe funny :)
Try the code from ExcalibursZone, if, for some reason, it doesn't work for you just reply to this post and we might be able to help you out with that 'balloon' stuff :)
If it still stays there try
Code:Private Sub Form_QueryUnload(Cancel as Integer, UnloadMode As Integer)
Dim Form As Form
For Each Form in Forms
Unload Form
Set Form = Nothing 'according to yonatan this isn't nessecary (and I believe him :))
Next
End 'Also not nessecary Yoni?
End Sub
I've had the "balloon" effect myself, but only when I run uncompiled in VB. Never had it
when running a compiled .exe.
I'm getting er..."balloons" all the time myself. I get them when my VB application doesn't close properly, when I close a DirectX game, when I close anything that uses alot of CPU or fullscreen mode. I'm using Windows 98SE and one wonders if it has something to do with Windows itself.
"Hmmmmmmmmmmmmmmm..."
It might be windows because HalfLife leaves that caption-less item in my system tray aswell.
hi all again,
all the ways didn't work !!!:(
i think it may be because windows,
any other suggestions ???:rolleyes:
bYe:cool: