|
-
May 17th, 2000, 01:52 AM
#1
What's the best way to keep a single form always on top of my VB app? I don't want it to be on top of other apps (like with HWND_TOPMOST), just mine.
-
May 17th, 2000, 02:00 AM
#2
Fanatic Member
-
May 17th, 2000, 02:03 AM
#3
you could do
but that wont let you have acess to any other form, will form2 is closed
-
May 17th, 2000, 02:14 AM
#4
Dennis- Thx, but I've got to use the other forms. This is sort of an "advertisement"
kinjalgp- Isn't there a more graceful way to do this? If I do it this way, the user will be able to "flash" the form under another and then back up.
Anyone?
-
May 17th, 2000, 02:33 AM
#5
-
May 17th, 2000, 02:38 AM
#6
Lively Member
-
May 17th, 2000, 03:10 AM
#7
OK, let me clarify my question:
I have an app with about a dozen forms which open and close at various points in the application. I want one form to be on top of all of this (so I can't give it a distinct owner, _bman_) However, if my app is sent to the background I want this window to go with.
-
May 17th, 2000, 03:14 AM
#8
Fanatic Member
If you send your app to background then you can also set Form1's property somewhat like this
Private Sub Form1_LostFocus()
AlwaysOnTop Form1, False
End Sub
This will send Form1 behind other forms.
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
|