Making a Window 'Always On Top' (Functions/Subroutines/Programs)

Sometimes in an application you may need to have a specific window that will always be visible to the user.  This could be a floating tool bar or a floating help screen.  Whatever the case is, in OpenInsight we can set this property for individual windows but setting the 'STYLE_EX' property for the form.

 

Use the following syntax in the create event for the form.

 

Set_Property(@WINDOW , "STYLE_EX" , "0x8")  **Always on top.

 

**Note:  You can not have an always on top setting for a form that is called as an MDIChild.

 

{{kb0140_1.png}} 

  • kb/kb_articles/kb0140.txt
  • Last modified: 2024/01/30 13:36
  • by 127.0.0.1