|
-
Nov 2nd, 2000, 11:53 AM
#1
Thread Starter
Junior Member
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
-
Nov 2nd, 2000, 12:04 PM
#2
Frenzied Member
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?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Nov 2nd, 2000, 01:15 PM
#3
Thread Starter
Junior Member
my OS is win98 v2
here's the code i use for showing :
Code:
AnimateWindow Me.hwnd, 300, AW_CENTER Or AW_ACTIVATE
for hiding :
Code:
AnimateWindow Me.hwnd, 300, AW_CENTER Or AW_HIDE
set form1 = nothing
to see the ballon :
[img]
http://geocities.com/one2one22/ballon.gif
[/img]
bYe
-
Nov 2nd, 2000, 01:59 PM
#4
Frenzied Member
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
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Nov 3rd, 2000, 02:21 PM
#5
Thread Starter
Junior Member
-
Nov 3rd, 2000, 02:31 PM
#6
Frenzied Member
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?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Nov 3rd, 2000, 03:38 PM
#7
Frenzied Member
He's talking about the captionless button that remains in the taskbar after his application is finished.
-
Nov 3rd, 2000, 03:47 PM
#8
Fanatic Member
Well, I'm not sure, but you can try this:
Code:
Form2.Hide
Form2.ClipControls = False
Form2.Caption = ""
when you 'hide' your window. I did some testing and this made the 'balloon' go away while the form was hidden (not unloaded).
Optionally, if you need to take the form out of memory use:
Code:
Unload Me 'This is for the form itself
Unload Form1 'The name of the form in your project
These two lines will take the form out of memory or unload the form.
Or, if you don't want the window to show in the taskbar at all, just set ShowInTaskbar to False during design time.
-
Nov 3rd, 2000, 06:54 PM
#9
Frenzied Member
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
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Nov 3rd, 2000, 07:21 PM
#10
Hyperactive Member
I've had the "balloon" effect myself, but only when I run uncompiled in VB. Never had it
when running a compiled .exe.
-
Nov 3rd, 2000, 11:57 PM
#11
Member
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..."
-
Nov 4th, 2000, 12:12 AM
#12
Junior Member
It might be windows because HalfLife leaves that caption-less item in my system tray aswell.
-
Nov 4th, 2000, 07:49 AM
#13
Thread Starter
Junior Member
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
|