X11-Mode FORM Objects EVENTS Updated: Aug 27, 2008 X11-Mode Events: OnClick [all] OnClose [all] OnDblClick [all] OnKeyDown [all] OnKeyUp [all] OnMessage [all] OnMouseDown [all] OnMouseUp [all] OnMouseMove [all] OnPaint [all] OnResize [all] OnShow [all] To enhance cross-platform source code compatibility, native X11 are mapped to MS Windows messages (uMsg) as shown below. OnMessage behaves similarly to its Windows counterpart in that all events not coded by the native event keywords listed above are available for processing in OnMessage routines. X11 Name Type uMsg (Microsoft Windows) ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~ KeyPress 2 100h OnKeyDown KeyRelease 3 101h OnKeyUp ButtonPress 4 201h,204h,207h OnMouseDown 203h,206h,209h OnDblClick 111h OnClick (WM_COMMAND) ButtonRelease 5 202h,205h,208h OnMouseUp MotionNotify 6 200h OnMouseMove EnterNotify 7 84h WM_NCHITTEST LeaveNotify 8 FocusIn 9 7h WM_SETFOCUS FocusOut 10 8h WM_KILLFOCUS KeymapNotify 11 1Ah WM_SETTINGCHANGE Expose 12 0Fh OnPaint GraphicsExpose 13 0Fh OnPaint NoExpose 14 0Bh WM_SETREDRAW VisibilityNotify 15 18h OnShow CreateNotify 16 1h WM_CREATE DestroyNotify 17 2h OnClose UnmapNotify 18 MapNotify 19 MapRequest 20 ReparentNotify 21 ConfigureNotify 22 5h OnResize (Move instances filtered out) ConfigureRequest 23 GravityNotify 24 ResizeRequest 25 CirculateNotify 26 CirculateRequest 27 PropertyNotify 28 4Eh WM_NOTIFY SelectionClear 29 SelectionRequest 30 SelectionNotify 31 ColormapNotify 32 311h WM_PALETTECHANGED ClientMessage 33 400h WM_USER MappingNotify 34 7Eh WM_DISPLAYCHANGE Copyright 2007-2008 James J Keene PhD Original Publication: Nov 27, 2007