Hello,
Use to you could make a form always on top using SetParent(). How do you do it now in the new .net language????
Here is the code:
' Visual Basic
Public sub MakeOnTop()
myTopForm.TopMost = True
End Sub
// C#
public void MakeOnTop()
{
myTopForm.TopMost = true;
}
// C++
public:
void MakeOnTop()
{
myTopForm->TopMost = true;
}
Taken from:
http://msdn.microsoft.com/library/de...opmostform.asp
It is also on each window form.
What is also on each window form? You mean the property is in the window form?
I just set the property to true in each form. I've never had a need to make always on top in the program.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks