#include <Component.h>
Inheritance diagram for wkgl::CallBack:

Public Methods | |
| virtual BOOL | callBack (Component *com, UINT message, WPARAM wParam, LPARAM lParam)=0 |
| Implement this method to have a callback in your class. | |
Here is an example:
BOOL MyClass::CallBack(Component* com, UINT message, WPARAM wParam, LPARAM lParam) { switch ( com ) { case &myButton: return OnMyButton( com, message, wParam, lParam ); case &myButton2: return OnMyButton2( com, message, wParam, lParam ); case &myWindow: return OnMyWindow2( com, message, wParam, lParam ); } return FALSE; }
|
||||||||||||||||||||
|
Implement this method to have a callback in your class.
Implemented in wkgl::Dialog, wkgl::Menu, wkgl::MenuBar, wkgl::PopupMenu, and wkgl::Window. |
1.2.18