|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Keep form on top of everything - even other apps ?> Is there a way to keep a form on top of everything - even other apps ? TopMost = TrueHello,
I don't think TopMost = True will do it. In most probability it will keep your form on top of your current app only. I think there is an API called SetWindowPos that is used for this purpose. I used it back in good ol' days of VB not Net. If you look for the SetWindowPos keyword, you can probably find some examples on the net. Regards Cyril > I don't think TopMost = True will do it. In most probability it will keep It works for me (topmost means on top of all apps) under XP 5.1 SP 2 Build > your form on top of your current app only. 2600, FW 1.1 SP1. But there is this in the .net help files: "With the Microsoft Windows 2000 operating system, a top-most form always stays in front of all windows in a given application. In Microsoft Windows 98, a top-most form stays in front of all windows in all applications. For example, you may want to keep a floating tool window in front of your application's main window. The TopMost property controls whether a form is a top-most form. Note that a top-most form will float above other, non–top-most forms even when it is not active." Hmm... That's weird behaviour :)
Well.. I guess for insurance it might be a good idea to use the API. I have always used it. Thanks for the tip AMercer, this is something I didn't know Regards Cyril
How to Exit an application properly on Error
Regional settings cause runtime crash [VB.NET express 2005] - Regular expressions Tabbed MDI Interface Sharing source code between Vs2003 and Vs2005 IDE After Select.......not really? How to send an Email in VB.NET Namespace not available... Deleting all forms in collection next / next x difference |
|||||||||||||||||||||||