Help Contents / GUI programming / WindowSet / WindowSetExtraStyle

WindowSetExtraStyle window exStyle

Sets the extra style bits for the window.  The currently defined extra style bits are: 

wxWS_EX_VALIDATE_RECURSIVELY   TransferDataTo/FromWindow() and Validate() methods  will recursively descend into all children of the window  if it has this style flag set.   

wxWS_EX_BLOCK_EVENTS  Normally, the command events  are propagated upwards to the window parent recursively  until a handler for them is found.  Using this style allows to prevent them from being propagated  beyond this window.  Notice that wxDialog has this style on by default  for the reasons explained in the event processing overview.   

wxWS_EX_TRANSIENT  This can be used to prevent a window  from being used as an implicit parent for the dialogs  which were created without a parent.  It is useful for the windows which can disappear at any moment  as creating children of such windows results in fatal problems.   

wxWS_EX_CONTEXTHELP  Under Windows, puts a query button on the caption.  When pressed, Windows will go into a context-sensitive help mode  and wxWidgets will send a wxEVT_HELP event  if the user clicked on an application window.  This style cannot be used together with wxMAXIMIZE_BOX or wxMINIMIZE_BOX,  so these two styles are automatically turned of if this one is used.   

wxWS_EX_PROCESS_IDLE  This window should always process idle events,  even if the mode set by wxIdleEvent::SetMode is wxIDLE_PROCESS_SPECIFIED.   

wxWS_EX_PROCESS_UI_UPDATES   This window should always process UI update events,  even if the mode set by wxUpdateUIEvent::SetMode  is wxUPDATE_UI_PROCESS_SPECIFIED.   


previous: WindowSetClientSize	next: WindowSetFocus
