Kejun
February 8th, 2000, 07:57 AM
Hi, all!
As I'm trying to make a floating toolbar by VB, I encounter the following problem:
When I want a Hidden form to show(When the mouse cursor is moved in a given region at desktop), it often hide behind other application windows(not my VB window), no matter I use BringWindowtoTop, SetActiveWindow, SetforegroundWindow or SetFocus.
Only do I use SetWindowPos to set it as the topmost can the window be on the top, but I don't want it to be the topmost for when I click other windows I need it to hide automatically.
And another problem is I don't how to make this window to get the focus. Not the focus of this thread but of the whole win9x. Now when it shows, the title-bar of the window blinks once or twice, but the input haven't been changed to the window!
Strangly, however, sometimes it can get the real focus. But most time it still be overlapped by other windows!
Any Advice? Thanks in advance. I'm a newbie in this BBS :_)
As I'm trying to make a floating toolbar by VB, I encounter the following problem:
When I want a Hidden form to show(When the mouse cursor is moved in a given region at desktop), it often hide behind other application windows(not my VB window), no matter I use BringWindowtoTop, SetActiveWindow, SetforegroundWindow or SetFocus.
Only do I use SetWindowPos to set it as the topmost can the window be on the top, but I don't want it to be the topmost for when I click other windows I need it to hide automatically.
And another problem is I don't how to make this window to get the focus. Not the focus of this thread but of the whole win9x. Now when it shows, the title-bar of the window blinks once or twice, but the input haven't been changed to the window!
Strangly, however, sometimes it can get the real focus. But most time it still be overlapped by other windows!
Any Advice? Thanks in advance. I'm a newbie in this BBS :_)