[RESOLVED] BringWindowToTop not Bringing Window To Top
Sorry, I know this is sort of double posting, but I couldn't get anyone to move my thread. I can't get BringWindowToTop to work. I have little experience with APIs.
I declare it at the top like this:
Private Declare Function BringWindowToTop Lib "user32" (ByVal hwnd As IntPtr) As IntPtr
And use it like this:
Quote:
Private Sub TaskBarIcon_BalloonClick(ByVal sender As Object) Handles TaskBarIcon.BalloonClick
Me.WindowState = FormWindowState.Normal
BringWindowToTop(Me.Handle)
End Sub
If you look at my previous post, you will see a screenshot where I clicked the Balloon, it highlighted my form as if it were selected, but it left Windows Explorer in front of my form.
Do I need to Refresh my form, bringtofront, etc.? Any ideas?
Thanks
http://vbforums.com/showthread.php?t=460255
Re: BringWindowToTop not Bringing Window To Top
Quote:
Originally Posted by 18experience
Sorry, I know this is sort of double posting, but I couldn't get anyone to move my thread.
Unless your thread is blatantly in the wrong forum, you need to specifically ask a moderator - like everyone else, we don't read every single post on the forums "just in case" there is something directed at us in it. ;)
Re: BringWindowToTop not Bringing Window To Top
I specifically asked someone. Sorry about that. I always post in that other forum and it wasn't until I was well into it that I discovered it would be some API business.