(svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY which specifies that the window holding it is actually one that enables an edit box.
Use this flag when dispatching a key event instead of using some hard coded window IDs. This should ease a little bit the creation of new edit aware windows.
This commit is contained in:
@@ -208,7 +208,7 @@ enum WindowDefaultFlag {
|
||||
WDF_STD_TOOLTIPS = 1 << 0, ///< use standard routine when displaying tooltips
|
||||
WDF_DEF_WIDGET = 1 << 1, ///< default widget control for some widgets in the on click event
|
||||
WDF_STD_BTN = 1 << 2, ///< default handling for close and drag widgets (widget no 0 and 1)
|
||||
|
||||
WDF_TEXTENTRY = 1 << 3, ///< This window is authorized to receive keyboard events
|
||||
WDF_UNCLICK_BUTTONS = 1 << 4, ///< Unclick buttons when the window event times out */
|
||||
WDF_STICKY_BUTTON = 1 << 5, ///< Set window to sticky mode; they are not closed unless closed with 'X' (widget 2)
|
||||
WDF_RESIZABLE = 1 << 6, ///< A window can be resized
|
||||
|
Reference in New Issue
Block a user