This note identifies the messages sent by various FOX objects to their
targets, and the data which is sent along with those messages, and any
significance this data may have to the reacted behavior of that target.
FXApp
The application object itself doesn't have a designated message
target like other FOX objects, but it can send messages to objects for
a few special events:
- Timers. When a timeout event is registered with the application using the addTimeout() function, a SEL_TIMEOUT message is sent to the target object.
- Chores. When a chore event is registered with the application using the addChore() function, a SEL_CHORE message is sent to the target object.
- Inputs. When an input event is registered with the application using the addInput() function, a SEL_IO_READ, SEL_IO_WRITE or SEL_IOEXCEPT message is sent to the target object.
- Signals. When a signal handler object is registered with the application using the addSignal() function, a SEL_SIGNAL message is sent to the target object.
For more details on how to use these features, see the Timers, Chores, Signals, and Input Messages [1] section of the on-line FOX documentation.
FXTopWindow
Derived from FXShell - FXWindow.
The following messages are sent by FXTopWindow to its target:
| Message |
Message Data |
Description |
| SEL_MAXIMIZE |
NULL |
Window has been maximized. |
| SEL_MINIMIZE |
NULL |
Window has been minimized. |
| SEL_RESTORE |
NULL |
Window has been restored to normal size. |
| SEL_CLOSE |
NULL |
Asks target permission to close window. Return 0 to close window. |
FXWindow
The following messages are sent by FXWindow to its target:
| Message Type |
Message Data |
Description |
| SEL_MAP |
FXEvent |
Window was mapped to screen |
| SEL_UNMAP |
FXEvent |
Window was unmapped; The grab is lost |
| SEL_CONFIGURE |
FXEvent |
Configure Notify |
| SEL_LEFTBUTTONPRESS |
FXEvent |
Left mouse button press |
| SEL_LEFTBUTTONRELEASE |
FXEvent |
Left mouse button release |
| SEL_MIDDLEBUTTONPRESS |
FXEvent |
Middle mouse button press |
| SEL_MIDDLEBUTTONRELEASE |
FXEvent |
Middle mouse button release |
| SEL_RIGHTBUTTONPRESS |
FXEvent |
Right mouse button press |
| SEL_RIGHTBUTTONRELEASE |
FXEvent |
Right mouse button release |
| SEL_MOTION |
FXEvent |
Mouse motion |
| SEL_MOUSEWHEEL |
FXEvent |
Mouse wheel |
| SEL_KEYPRESS |
FXEvent |
Key Press |
| SEL_KEYRELEASE |
FXEvent |
Key Release |
| SEL_BEGINDRAG |
FXEvent |
Start a Drag operation |
| SEL_ENDDRAG |
FXEvent |
End a drag operation |
| SEL_DRAGGED |
FXEvent |
Being dragged |
| SEL_ENTER |
FXEvent |
Mouse enters window. |
| SEL_LEAVE |
FXEvent |
Mouse leaves window. |
| SEL_FOCUSIN |
FXEvent |
Window gaines focus |
| SEL_FOCUSOUT |
FXEvent |
Window lost focus |
| SEL_DND_ENTER |
FXEvent |
Drag-and-Drop Enter |
| SEL_DND_LEAVE |
FXEvent |
Drag-and-Drop Leave |
| SEL_DND_MOTION |
FXEvent |
Drag-and-Drop Motion |
| SEL_DND_DROP |
FXEvent |
Drag-and-Drop Drop |
| SEL_DND_REQUEST |
FXEvent |
Drag-and-Drop Request |
| SEL_SELECTION_GAINED |
FXEvent |
Gained the selection |
| SEL_SELECTION_LOST |
FXEvent |
Lost the selection |
| SEL_SELECTION_REQUEST |
FXEvent |
Request for the selection |
| SEL_CLIPBOARD_GAINED |
FXEvent |
Gained the selection |
| SEL_CLIPBOARD_LOST |
FXEvent |
Lost the selection |
| SEL_CLIPBOARD_REQUEST |
FXEvent |
Request for the selection |
| SEL_UPDATE |
NULL |
Update State of Widget |
| SEL_UNGRABBED |
FXEvent |
Lost the grab somehow.. |
FXFrame
Derived from FXWindow.
No Messages.
FXLabel
Derived from FXFrame - FXWindow.
No Messages.
FX4Splitter
Derived from FXComposite.
The following messages are sent by FX4Splitter to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_CHANGED |
NULL |
If the FOURSPLITTER_TRACKING option is set, this message is sent during resizing operation. |
| SEL_COMMAND |
NULL |
This message
is sent when the user finishes resizing and releases the left mouse
button to indicate that the layout has been changed. |
FXArrowButton
The following messages are sent by FXArrowButton to its target:
| Message Type |
Message Data |
Description |
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_COMMAND |
|
Message is sent when the
left mouse button is release (or every time the timer "fires", if
you're holding down the arrow button). |
FXButton
The following messages are sent by FXButton to its target:
| Message Type |
Message Data |
Description |
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_COMMAND |
|
Message is sent after left mouse button when button is pressed. |
FXCanvas
The following messages are sent by FXCanvas to its target:
| Message Type |
Message Data |
Description |
| SEL_PAINT |
FXEvent |
|
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_MIDDLEBUTTONPRESS |
FXEvent |
|
| SEL_MIDDLEBUTTONRELEASE |
FXEvent |
|
| SEL_RIGHTBUTTONPRESS |
FXEvent |
|
| SEL_RIGHTBUTTONRELEASE |
|
|
| SEL_MOTION |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
FXTabBook
The following messages are sent by FXTabBook to its target:
| Message Type |
Message Data |
Description |
| SEL_COMMAND |
FXEvent |
One of the tab items have been pressed |
FXTable
The following messages are sent by FXTable to its target:
| Message Type |
Message Data |
Description |
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_MIDDLEBUTTONPRESS |
FXEvent |
|
| SEL_MIDDLEBUTTONRELEASE |
FXEvent |
|
| SEL_RIGHTBUTTONPRESS |
FXEvent |
|
| SEL_RIGHTBUTTONRELEASE |
FXEvent |
|
| SEL_CLICKED |
FXEvent |
A cell has been clicked.
Entering edit mode or highlighted a cell. If cell is row header, event
occurs after the sort order has been toggled. |
| SEL_DOUBLECLICKED |
FXEvent |
|
| SEL_TRIPLECLICKED |
FXEvent |
|
| SEL_CHANGED |
FXEvent |
User has entered a new cell. |
| SEL_COMMAND |
FXEvent |
A cell has been modified.
Content of cell reflects the new value. Use method .getCurrentColumn()
and .getCurrentRow() to detect location of change. |
| SEL_SELECTED |
FXEvent |
|
| SEL_DESELECTED |
FXEvent |
|
| SEL_INSERTED |
FXEvent |
|
| SEL_DELETED |
FXEvent |
|
FXMenuCommand
The following messages are sent by FXMenuCommand to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_COMMAND |
NULL |
Actually, the message data is not consistent but should be ignored by the target. |
FXCheckButton
The following messages are sent by FXCheckButton to its target:
| Message Type |
Message Data |
Description |
| SEL_KEYPRESS |
FXEvent |
  |
| SEL_KEYRELEASE |
FXEvent |
  |
| SEL_COMMAND |
Can be cast to type FXuchar; indicates the state of the button |
Possible checkbutton states are TRUE, FALSE and MAYBE |
FXColorSelector
The following messages are sent by FXColorSelector to its target:
| Message Type |
Message Data |
Description |
| SEL_CHANGED |
Can be cast to type FXColor; indicates the color well's current color |
Message identifier will be FXColorWell::ID_COLORWELL and sender will actually be the embedded color well object. |
| SEL_COMMAND |
Can be cast to type FXColor; indicates the color well's current color |
Message identifier will be FXColorWell::ID_COLORWELL and sender will actually be the embedded color well object. |
FXColorWell
The following messages are sent by FXColorWell to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_MIDDLEBUTTONPRESS |
FXEvent |
|
| SEL_MIDDLEBUTTONRELEASE |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_CHANGED |
Can be cast to type FXColor; indicates the color well's current color |
|
| SEL_COMMAND |
Can be cast to type FXColor; indicates the color well's current color |
|
| SEL_CLICKED |
Can be cast to type FXColor; indicates the color well's current color |
The "clicked" message indicates a mouse click anywhere in the widget |
| SEL_DOUBLECLICKED |
Can be cast to type FXColor; indicates the color well's current color |
The "clicked" message indicates a mouse click anywhere in the widget |
| SEL_TRIPLECLICKED |
Can be cast to type FXColor; indicates the color well's current color |
The "clicked" message indicates a mouse click anywhere in the widget |
FXComboBox
The following messages are sent by FXComboBox to its target:
| Message Type |
Message Data |
Description |
| SEL_UPDATE |
NULL |
Only sent when the menu pane is not popped |
| SEL_CHANGED |
Text which appears in the text field (type is const FXchar*) |
Sent when the text in the text field changes |
| SEL_COMMAND |
Label of the currently selected list item (type is const FXchar*) |
|
FXDial
The following messages are sent by FXDial to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_CHANGED |
Can be cast to type FXint; indicates the current dial position Sent while user is dragging the dial |
|
| SEL_COMMAND |
Can be cast to type FXint; indicates the current dial position Sent after user has released the left mouse button |
|
FXDialogBox
The following messages are sent by FXDialogBox to its target:
| Message Type |
Message Data |
Description |
| SEL_CLOSE |
NULL |
|
FXDirBox
The following messages are sent by FXDirBox to its target:
| Message Type |
Message Data |
Description |
| SEL_CHANGED |
Can be cast to type const FXchar*; indicates the path to the current item |
|
| SEL_COMMAND |
Can be cast to type const FXchar*; indicates the path to the current item |
|
FXGLCanvas
FXGLCanvas doesn’t send any messages to its target, other than those sent by its base class (FXCanvas).
FXGLViewer
The following messages are sent by FXGLViewer to its target:
| Message Type |
Message Data |
Description |
| SEL_CHANGED |
Can be cast to type FXGLObject*. Indicates the currently selected object, if any; could be NULL. |
Sent when the current object changes |
| SEL_CLICKED |
Can be cast to type FXGLObject*. Indicates the currently selected object, if any; could be NULL. |
The "clicked" message indicates a mouse click anywhere in the widget |
| SEL_DOUBLECLICKED |
Can be cast to type FXGLObject*; indicates the currently selected object, if any (could be NULL). |
The "double-clicked" message indicates a mouse click anywhere in the widget |
| SEL_TRIPLECLICKED |
Can be cast to type FXGLObject*; indicates the currently selected object, if any (could be NULL). |
The "triple-clicked" message indicates a mouse click anywhere in the widget |
| SEL_COMMAND |
Can be cast to type FXGLObject*; indicates the currently selected object. |
Sent when the user clicks on an FXGLObject in the scene. |
| SEL_COMMAND with message identifier FXWindow::ID_QUERY_MENU. |
FXEvent |
Sent
to the target when user presses right mouse button in the scene
background, or if the clicked-on FXGLObject didn't handle the
ID_QUERY_MENU command first. |
| SEL_PICKED |
FXEvent |
|
| SEL_DRAGGED |
Can be cast to type FXGLObject*; indicates the currently selected object. |
|
| SEL_LASSOED |
FXEvent |
|
| SEL_SELECTED |
Can be cast to type FXGLObject**; indicates the list of currently selected objects. |
Typically the result of a lasso operation. |
| SEL_DESELECTED |
Can be cast to type FXGLObject**; indicates the list of currently selected objects. |
Typically the result of a lasso operation. |
| SEL_INSERTED |
|
|
| SEL_DELETED |
Can be cast to type FXGLObject**; indicates the list of objects which should be deleted.
|
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_MIDDLEBUTTONPRESS |
FXEvent |
|
| SEL_MIDDLEBUTTONRELEASE |
FXEvent |
|
| SEL_RIGHTBUTTONPRESS |
FXEvent |
|
| SEL_RIGHTBUTTONRELEASE |
FXEvent |
|
| SEL_MOTION |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
FXHeader
The following messages are sent by FXHeader to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_CHANGED |
Can be cast to type FXint; indicates the index of the changed item. |
If the HEADER_TRACKING option is set, this message is sent continuously while the header is being resized. |
| SEL_COMMAND |
Can be cast to type FXint; indicates the index of the changed item. Sent when the left mouse button is released. |
|
| SEL_REPLACED |
Can be cast to type FXint; indicates the index of the item to be replaced. |
The message is sent before the item gets replaced. |
| SEL_INSERTED |
Can be cast to type FXint; indicates the index of the item to be inserted. |
The message is sent after the item is inserted. |
| SEL_DELETED |
Can be cast to type FXint; indicates the index of the item to be deleted. |
The message is sent before the item gets deleted. |
FXIconList
The following messages are sent by FXIconList to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_RIGHTBUTTONPRESS |
FXEvent |
|
| SEL_RIGHTBUTTONRELEASE |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_CHANGED |
Can be cast to an FXint, to get the current item index; if there is no current item the index is -1. |
This message is sent when the button goes down, but before the selection has changed. |
| SEL_CLICKED |
Can be cast to an FXint, to get the current item index; if there is no current item the index is -1. |
The "clicked" message indicates a mouse click anywhere in the widget. It is sent when the button comes up. |
| SEL_DOUBLECLICKED |
Can be cast to an FXint, to get the current item index; if there is no current item the index is -1. |
The "double-clicked" message indicates a mouse click anywhere in the widget |
| SEL_TRIPLECLICKED |
Can be cast to an FXint, to get the current item index; if there is no current item the index is -1. |
The "triple-clicked" message indicates a mouse click anywhere in the widget |
| SEL_COMMAND |
Can be cast to an FXint, to get the current item index; if there is no current item the index is -1. |
|
| SEL_SELECTED |
Can be cast to an FXint, to get the index of the selected item. The message is sent after the item is selected. |
|
| SEL_DESELECTED |
Can be cast to an FXint, to get the index of the deselected item. The message is sent after the item is deselected. |
|
| SEL_REPLACED |
Can be cast to type FXint; indicates the index of the item to be replaced. |
The message is sent before the item gets replaced. |
| SEL_INSERTED |
Can be cast to type FXint; indicates the index of the item to be inserted. |
The message is sent after the item is inserted. |
| SEL_DELETED |
Can be cast to type FXint; |
indicates the index of the item to be deleted. The message is sent before the item gets deleted. |
FXImageView
The following messages are sent by FXImageView to its target:
| Message Type |
Message Data |
Description |
| SEL_RIGHTBUTTONPRESS |
FXEvent |
|
| SEL_RIGHTBUTTONRELEASE |
FXEvent |
|
FXList
The following messages are sent by FXList to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_RIGHTBUTTONPRESS |
FXEvent |
|
| SEL_RIGHTBUTTONRELEASE |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_CHANGED |
Should be cast to an FXint; indicates the index of the currently selected list item (if any). |
When no item is selected the "current" item has index of -1. |
| SEL_CLICKED |
Should be cast to an FXint; indicates the index of the currently selected list item (if any). |
The "clicked" message indicates a mouse click anywhere in the widget |
| SEL_DOUBLECLICKED |
Should be cast to an FXint; indicates the index of the currently selected list item (if any). |
The "double-clicked" message indicates a mouse click anywhere in the widget |
| SEL_TRIPLECLICKED |
Should be cast to an FXint; indicates the index of the currently selected list item (if any). |
The "triple-clicked" message indicates a mouse click anywhere in the widget |
| SEL_COMMAND |
Should be cast to an FXint; indicates the index of the currently selected list item. |
|
| SEL_SELECTED |
Can be cast to an FXint, to get the index of the selected item. The message is sent after the item is selected. |
|
| SEL_DESELECTED |
Can be cast to an FXint, to get the index of the deselected item. |
The message is sent after the item is deselected. |
| SEL_REPLACED |
Can be cast to type FXint; indicates the index of the item to be replaced. |
The message is sent before the item gets replaced. |
| SEL_INSERTED |
Can be cast to type FXint; indicates the index of the item to be inserted. |
The message is sent after the item is inserted. |
| SEL_DELETED |
Can be cast to type FXint; indicates the index of the item to be deleted. |
The message is sent before the item gets deleted. |
FXListBox
The following messages are sent by FXListBox to its target:
| Message Type |
Message Data |
Description |
| SEL_UPDATE |
NULL Only sent when the menu pane is not popped |
|
| SEL_CHANGED |
Text which appears in the text field (type is const FXchar*) |
Sent when the text in the text field changes |
| SEL_COMMAND |
Label of the currently selected list item (type is const FXchar*) |
|
FXMainWindow
The following messages are sent by FXMainWindow to its target:
| Message Type |
Message Data |
Description |
| SEL_CLOSE |
NULL |
If the target handles this
message, the main window is not closed. Otherwise, the main window
sends the application a SEL_COMMAND message of ID_QUIT. |
FXMDIChild
The following messages are sent by FXMDIChild to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_MIDDLEBUTTONPRESS |
FXEvent |
|
| SEL_MIDDLEBUTTONRELEASE |
FXEvent |
|
| SEL_RIGHTBUTTONPRESS |
FXEvent |
|
| SEL_RIGHTBUTTONRELEASE |
FXEvent |
|
| SEL_SELECTED |
Can be cast to a pointer to FXMDIChild; indicates the previously active MDI child window (if any). |
|
| SEL_DESELECTED |
Can be cast to a pointer to FXMDIChild; indicates the newly activated MDI child window (if any). |
|
| SEL_MINIMIZE |
NULL |
|
| SEL_MAXIMIZE |
NULL |
|
| SEL_RESTORE |
NULL |
|
| SEL_CLOSE |
NULL |
|
| SEL_CLOSEALL |
NULL |
|
| SEL_DELETE |
NULL |
|
FXMDIClient
The following messages are sent by FXMDIClient to its target:
| Message Type |
Message Data |
Description |
| SEL_CHANGED |
Can be cast to a pointer to FXMDIChild; indicates the newly activated MDI child window (if any). |
|
FXMenuButton
The following messages are sent by FXMenuButton to its target:
| Message Type |
Message Data |
Comments |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
FXMenuCascade
The following messages are sent by FXMenuCascade to its target:
| Message Type |
Message Data |
Comments |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
FXMenuCommand
The following messages are sent by FXMenuCommand to its target:
|
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_COMMAND |
NULL |
Actually, the message data is not consistent but should be ignored by the target. |
FXMenuTitle
The following messages are sent by FXMenuTitle to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
FXOptionMenu
The following messages are sent by FXOptionMenu to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_COMMAND |
FXEvent |
|
FXRadioButton
The following messages are sent by FXRadioButton to its target:
| Message Type |
Message Data |
Description |
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_COMMAND |
Can be cast to type FXuchar; indicates the current state of the radio button. |
Possible radio button states are TRUE and FALSE |
FXRecentFiles
The following messages are sent by FXRecentFiles to its target:
| Message Type |
Message Data |
Description |
| SEL_COMMAND |
Can be cast to type FXchar*; indicates the selected file name. |
|
FXScrollbar
The following messages are sent by FXScrollBar to its target:
|
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_MIDDLEBUTTONPRESS |
FXEvent |
|
| SEL_MIDDLEBUTTONRELEASE |
FXEvent |
|
| SEL_RIGHTBUTTONPRESS |
FXEvent |
|
| SEL_RIGHTBUTTONRELEASE |
FXEvent |
|
| SEL_CHANGED |
Can be cast to type FXint; indicates the current position of the scrollbar. |
Sent while user is dragging the scrollbar. |
| SEL_COMMAND |
Can be cast to type FXint; indicates the current position of the scrollbar. |
Sent after user releases the mouse button. |
FXShutter
The following messages are sent by FXShutter to its target:
| Message Type |
Message Data |
Description |
| SEL_COMMAND |
Can be cast to type FXint; indicates the index of the selected shutter item. |
|
FXSlider
The following messages are sent by FXSlider to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_MIDDLEBUTTONPRESS |
FXEvent |
|
| SEL_MIDDLEBUTTONRELEASE |
FXEvent |
|
| SEL_CHANGED |
Can be cast to type FXint; indicates the current position of the slider. |
Sent while user is dragging the slider. |
| SEL_COMMAND |
Can be cast to type FXint; indicates the current position of the slider. |
Sent after user releases the mouse button. |
FXSpinner
The following messages are sent by FXSpinner to its target:
| Message Type |
Message Data |
Description |
| SEL_COMMAND |
FXEvent |
|
FXSplitter
The following messages are sent by FXSplitter to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_CHANGED |
NULL |
|
| SEL_COMMAND |
NULL |
|
FXStatusline
The following messages are sent by FXStatusLine to its target:
| Message Type |
Message Data |
Description |
| SEL_UPDATE |
NULL |
The status line's target only gets a shot at handling this message if the current cursor window fails to handle it. |
FXSwitcher
The following messages are sent by FXSwitcher to its target:
| Message Type |
Message Data |
Description |
| SEL_COMMAND |
Can be cast to type FXint; indicates the index of the panel just opened. |
The message is sent after the current panel changes. |
FXTabBar
The following messages are sent by FXTabBar to its target:
| Message Type |
Message Data |
Description |
| SEL_COMMAND |
Can be cast to type FXint; indicates the index of the child window to open. |
|
FXTabItem
The following messages are sent by to its target:
| Message Type |
Message Data |
Description |
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
FXText
The following messages are sent by FXText to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_MIDDLEBUTTONPRESS |
FXEvent |
|
| SEL_MIDDLEBUTTONRELEASE |
FXEvent |
|
| SEL_RIGHTBUTTONPRESS |
FXEvent |
|
| SEL_RIGHTBUTTONRELEASE |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_CHANGED |
Can be cast to type FXint; indicates current cursor position. |
|
| SEL_SELECTED |
Array of FXints indicating the starting position and length of the selection. |
|
| SEL_DESELECTED |
Array of FXints indicating the starting position and length of the deselection. |
|
| SEL_INSERTED |
Array of FXints indicating the starting position and length of the inserted text. |
The message is sent after the text is inserted. |
| SEL_DELETED |
Array of FXints indicating the starting position and length of the deleted text. |
The message is sent before the text is deleted. |
| SEL_REPLACED |
Array of FXints indicating the starting position, the length of the old (replaced) text and the length of the new text. |
The message is sent before the text is replaced. |
FXTextField
The following messages are sent by FXTextField to its target:
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_MIDDLEBUTTONPRESS |
FXEvent |
|
| SEL_MIDDLEBUTTONRELEASE |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_CHANGED |
Current contents of text field (type const FXchar*) |
|
| SEL_COMMAND |
Current contents of text field (type const FXchar*) |
|
| SEL_VERIFY |
Current contents of text field (type const FXchar*) |
|
FXToggleButton
The following messages are sent by FXToggleButton to its target:
| Message Type |
Message Data |
Description |
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_COMMAND |
Can be cast to type FXuchar; indicates the current state of the toggle button. |
Possible toggle button states are TRUE and FALSE |
FXToolbarTab
The following messages are sent by FXToolbarTab to its target:
| Message Type |
Message Data |
Description |
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_COMMAND |
Can be cast to type FXbool; indicates whether tab is collapsed. |
|
FXTopWindow
The following messages are sent by FXTopWindow to its target:
| Message Type |
Message Data |
Description |
| SEL_CLOSE |
NULL |
If the target handles this message, the window is not closed. Otherwise, the window hides itself. |
FXTreeList
The following messages are sent by FXTreeList to its target:
|
| Message Type |
Message Data |
Description |
| SEL_LEFTBUTTONPRESS |
FXEvent |
|
| SEL_LEFTBUTTONRELEASE |
FXEvent |
|
| SEL_RIGHTBUTTONPRESS |
FXEvent |
|
| SEL_RIGHTBUTTONRELEASE |
FXEvent |
|
| SEL_KEYPRESS |
FXEvent |
|
| SEL_KEYRELEASE |
FXEvent |
|
| SEL_COLLAPSED |
Pointer to the FXTreeItem which was just collapsed. |
|
| SEL_EXPANDED |
Pointer to the FXTreeItem which was just expanded. |
|
| SEL_CHANGED |
Pointer to the new current FXTreeItem, if any; could be NULL |
This message indicates that the current item has changed, including the possibility that there is no current item. |
| SEL_CLICKED |
Pointer to the FXTreeItem which was clicked on, if any; could be NULL. |
The "clicked" message indicates a mouse click anywhere in the widget |
| SEL_DOUBLECLICKED |
Pointer to the FXTreeItem which was double-clicked on, if any; could be NULL. |
The "double-clicked" message indicates a mouse click anywhere in the widget |
| SEL_TRIPLECLICKED |
Pointer to the FXTreeItem which was triple-clicked on, if any; could be NULL. |
The "triple-clicked" message indicates a mouse click anywhere in the widget |
| SEL_SELECTED |
Can be cast to type FXTreeItem**; indicates the list of selected items. |
|
| SEL_DESELECTED |
Can be cast to type FXTreeItem**; indicates the list of deselected items. |
|
| SEL_COMMAND |
Pointer to the selected FXTreeItem |
|
| SEL_OPENED |
Pointer to the FXTreeItem which was just opened. |
|
| SEL_CLOSED |
Pointer to the FXTreeItem which was just closed. |
|
| SEL_INSERTED |
Pointer to the FXTreeItem which was just closed. |
The message is sent after the item is inserted. |
| SEL_DELETED |
Pointer to the FXTreeItem which was just closed. |
The message is sent before the item is deleted. |
FXTreeListBox
The following messages are sent by FXTreeListBox to its target:
|
| Message Type |
Message Data |
Description |
| SEL_UPDATE |
NULL Only sent when the popup is not shown. |
|
| SEL_CHANGED |
Pointer to the new current FXTreeItem, if any; could be NULL |
The list box just forwards the SEL_CHANGED message received from its enclosed FXTreeList. |
| SEL_COMMAND |
Pointer to selected FXTreeItem |
|
History
This document last updated by Lyle Johnson on June 1, 2001, for FOX version 0.99.172. Piotr Adamski translated to [PDF format] on June 22, 2001. From PDF to wiki html by Jeff Quast since June 10, 2008. Portions also from FOX Messages Last edited September 2, 2002 11:30 pm by Sander Jansen.
|
The information in this document was conglomerated from various sources, many of them very old, and do not accurately reflect the current fox toolkit. This document is in need of some heavy interrogation, (programmatically, if possible!)