As you're probably aware, when you click a window it usually comes to the foreground, and all other windows are shown behind it (unless it's a modal window). At times, you might want a window to stay on top of other windows, regardless of whether it's the current window (that is, it has the focus). An example of this is the Find window in Visual C# and other applications such as Word. Regardless of which window has the focus, the Find form always appears floating over all other windows. Such a window is created by setting the form's TopMost property to True. Not exactly rocket science, but that's the point: A simple property change or method call is often all it takes to accomplish what might otherwise seem to be a difficult task. |