Home - RAD C++ GUI 2.0 Documentation
Published on March 17, 2008 [12:28:43 AM]



Here is a quick list of events that are fired to form and/or fired by controls through user input (but this only applies to 1.2 and higher versions):


Controls' Eevents

ON_COMMAND_BY(ctrl)
Command by a button, color button or a menu item

ON_TEXT_CHANGED(ctl)
Text has been changed in a textbox, richtextbox , passwordbox, numberbox, or readonlybox.

ON_SPLITTER_CHANGE(ctrl)
The position has been changed by user

ON_DIVIDER_CHANGE(ctrl)
Same as ON_SPLITTER_CHANGE(ctrl)

ON_ITEMSELECT(ctrl)
An item has been selected in ListBox, means the selection has been changed

ON_NODESELECT(ctrl)
A node has been selected in a treeview control

ON_ROWSELECT(ctrl)
A row has been selected in a tableview conrol

ON_OBJECTSELECT(ctrl)
An item has been selected in a listview control

ON_TRACK_CHANGE(ctrl)
Position of track control / slider has been changed

ON_SCROLL_CHANGE(ctrl)
Positon of a scrollbase has been changed, means scrollbar has been scrolled

ON_TAB_SELECT(___ctrl,___page)
___page page has been selected within a tab control ___ctrl





Form/Dialog Events

ON_CLOSE()
Event fired when [X] close button of a form/dialog is clicked

ON_DESTROY()
Event fired when a form is destroyed

ON_SIZE()
Event fired when a form is resized

ON_RESIZE()
Same as ON_SIZE()

ON_MINIMIZE()
Event fired when a form is minimized, either it is child or independent


ON_MAXIMIZE
Event fired when a form is maximized, either it is child or independent


ON_MESSAGE(___msg___)
A message has been received in current Form Procedure or Control Procedure

ON_MOVE()
Form is being moved

ON_MOUSEMOVE()
Mouse cursor is rolling over the form or sub-classed control

ON_PAINT()
Form or sub classed control is repainting its client area

ON_ERASE()
Form is erasing its client area's background

ON_INIT()
Form is be initialized

ON_FOCUS()
Form or sub classed control has received focus

ON_LOOSE_FOCUS()
Form or sub classed control has lost focus

ON_LEFT_CLICK()
Left mouse click by user, does not track either mouse key was released or not


ON_LEFT_CLICK_RELEASE()
Left mouse click by user, and mouse key was released

ON_LEFT_UP()
Left mouse button is up

ON_FILES_DROP()
One or more files have been dropped over the form, user can drop 1 or more files and/or folders over a form, track using getDroppedFiles, see devpack examples.


ON_RIGHT_CLICK()
User rightclicked over the form's client area


ON_DOUBLE_CLICK()
User double clicked using left mouse button





System Tray

ON_TRAYICON_CLICK(__form_name)
Icon in system tray has been clicked by left mouse button. The icon must be set by programmer, it is not a notification of standard system tray icons.



ON_TRAYICON_RIGHT_CLICK(__form_name)
Icon in system tray has been clicked by right mouse button. The icon must be set by programmer, it is not a notification of standard system tray icons.


ON_TRAYICON_DOUBLE_CLICK(__form_name)
Icon in system tray has been double-clicked by left mouse button. The icon must be set by programmer, it is not a notification of standard system tray icons.



Visit www.radcpp.com for more help and updates. Documentation created using FlaX.Doc