NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Keeping a Win Form on Top

With the Windows 2000 operating system, a top-most form always stays in front of all windows in a given application. In 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.

To make a form the top-most form in a Win Forms application programmatically

See Also

Introduction to Win Forms | Win Forms Creation | Displaying Modal and Modeless Forms | Creating Transparent Win Forms | Resizing Win Forms | Setting the Location of Win Forms | Dialog Boxes