Hello,
Use to you could make a form always on top using SetParent(). How do you do it now in the new .net language????
Always on Top
Started by RobSoftware, Nov 23 2005 11:07 AM
3 replies to this topic
#1
Posted 23 November 2005 - 11:07 AM
|
|
|
#2
Guest_Jordan_*
Posted 23 November 2005 - 11:09 AM
Guest_Jordan_*
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.microsof...topmostform.asp
' 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.microsof...topmostform.asp
#3
Posted 01 May 2006 - 09:42 AM
It is also on each window form.
#4
Guest_NeedHelp_*
Posted 06 August 2006 - 05:59 PM
Guest_NeedHelp_*
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.
I just set the property to true in each form. I've never had a need to make always on top in the program.


Sign In
Create Account


Back to top









