guides:programming:programmers_reference_manual:psstyleex_property_gui

PSSTYLEEX property (GUI)

Returns the internal Extended Presentation Server style flags in Hex format.

The PSSTYLEEX property is returned as a C-style hex string, prefixed with "0x".

E.g. "0x4F4530A"

DevelopmentRuntimeIndexedScaledSynthetic
N/AGet OnlyNoNoNo

The individual bits in this property are used as flags internally to hold the state of various properties, and are normally changed via other property and method calls. For this reason the PSSTYLEEX property is read-only.

In general the meaning of the flags for each object differs based on its type. There are several "PS_" Insert records supplied with OpenInsight (such as PS_LISTBOX_EQUATES, PS_EDIT_EQUATES and so on) that have constants defined for each flag that illustrate their meaning further.

PSSTYLEEX_N Property

 
* // Example - "manually" check the GLASSDRAG property

   * //           for WINDOW object

   

   $Insert PS_Window_Equates

   

   PsStyle = Get_Property( CtrlEntID, "PSSTYLEEX" )

   

   * // The style is in HEX format so we need to convert it to

   * // a number to use with BitAnd()

   PsStyle = Iconv( PsStyle[3,\00\], "MX" )

   

   If BitAnd( PsStyle, PSSX_WINDOW_GLASSDRAG$ ) Then

      * // GLASSDRAG is set...

   End
 
 
  • guides/programming/programmers_reference_manual/psstyleex_property_gui.txt
  • Last modified: 2023/10/25 10:50
  • by 127.0.0.1