OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Dispatch functions (crackers) to crack a Windows message and pass control to a member function via a pointer (Handler). More...
#include <owl/private/defs.h>
#include <owl/defs.h>
#include <owl/geometry.h>
#include <owl/wsyscls.h>
#include <windowsx.h>
#include <dbt.h>
Go to the source code of this file.
Namespaces | |
namespace | owl |
Object Windows Library (OWLNext Core) | |
Typedefs | |
typedef void(TGeneric::* | owl::TAnyPMF) () |
typedef TResult(* | owl::TAnyDispatcher) (TGeneric &, TAnyPMF, TParam1, TParam2) |
typedef TDispatch< WM_PARENTNOTIFY >::TArgs | owl::TParentNotify |
Alias for convenience. | |
typedef TDispatch< WM_PARENTNOTIFY >::TChildInfoArgs | owl::TParentNotifyChildInfo |
Alias for convenience. | |
typedef TDispatch< WM_PARENTNOTIFY >::TMouseInfoArgs | owl::TParentNotifyMouseInfo |
Alias for convenience. | |
Aliases for Windows message parameters | |
typedef LRESULT | owl::TResult |
Result type. | |
typedef UINT | owl::TMsgId |
Message ID type. | |
typedef WPARAM | owl::TParam1 |
First parameter type. | |
typedef LPARAM | owl::TParam2 |
Second parameter type. | |
Functions | |
template<TResult(*)(void *, TParam1, TParam2) F> | |
TResult | owl::AnyDispatch (TGeneric &obj, TAnyPMF, TParam1 p1, TParam2 p2) |
template<class T , TResult(T::*)(TParam1, TParam2) M> | |
TResult | owl::DispatchRawArguments (void *i, TParam1 p1, TParam2 p2) |
template<class T , void(T::*)() M> | |
TResult | owl::DispatchChildNotify (void *i, TParam1, TParam2) |
template<class T , void(T::*)(uint) M> | |
TResult | owl::DispatchChildNotifyWithCode (void *i, TParam1 p1, TParam2) |
template<class T , void(T::*)() M> | |
TResult | owl::DispatchCommand (void *i, TParam1, TParam2) |
template<class T , void(T::*)(uint) M> | |
TResult | owl::DispatchCommandWithId (void *i, TParam1 p1, TParam2) |
Parameter factories | |
template<class T1 , class T2 > | |
TParam2 | owl::MkParam2 (const T1 &lo, const T2 &hi) |
TParam1 | owl::MkParam1 (uint lo, uint hi) |
Dispatch functions (crackers) to crack a Windows message and pass control to a member function via a pointer (Handler).
Definition in file dispatch.h.
#define OWL_DISPATCH | ( | dispatch, | |
method ) &owl::AnyDispatch<&dispatch<TMyClass, &TMyClass::method> > |
Definition at line 131 of file dispatch.h.
#define OWL_EV_SIGNATURE_CHECK 1 |
Definition at line 139 of file dispatch.h.
#define OWL_NEW_RESPONSE_TABLE 1 |
Definition at line 75 of file dispatch.h.
#define WM_CHILDINVALID (WM_OWLLAST - 1) |
Definition at line 4104 of file dispatch.h.
#define WM_COMMAND_ENABLE (WM_OWLLAST - 0) |
Definition at line 4103 of file dispatch.h.
#define WM_OWLCANCLOSE (WM_OWLLAST - 6) |
Definition at line 4109 of file dispatch.h.
#define WM_OWLCREATETTIP (WM_VBXBASE - 5) |
Notify gadget window to create tooltips.
Definition at line 4117 of file dispatch.h.
#define WM_OWLDOCUMENT (WM_OWLLAST - 2) |
Definition at line 4105 of file dispatch.h.
#define WM_OWLFIRST (WM_OWLLAST - 0x03FF) |
Definition at line 4101 of file dispatch.h.
#define WM_OWLFRAMESIZE (WM_VBXBASE - 2) |
Notify children of frame resizing.
Definition at line 4114 of file dispatch.h.
#define WM_OWLHELPHIT (WM_VBXBASE - 6) |
Notify Help manager with hit point.
Definition at line 4118 of file dispatch.h.
#define WM_OWLLAST 0x7FFF |
Definition at line 4100 of file dispatch.h.
#define WM_OWLNOTIFY (WM_OWLLAST - 4) |
Definition at line 4107 of file dispatch.h.
#define WM_OWLPREPROCMENU (WM_OWLLAST - 5) |
Definition at line 4108 of file dispatch.h.
#define WM_OWLSLIPDBLCLK (WM_VBXBASE - 3) |
Notify parent of user dblclick of edge slip.
Definition at line 4115 of file dispatch.h.
#define WM_OWLVIEW (WM_OWLLAST - 3) |
Definition at line 4106 of file dispatch.h.
#define WM_OWLWAKEUP (WM_VBXBASE - 1) |
Definition at line 4113 of file dispatch.h.
#define WM_OWLWINDOWDOCKED (WM_VBXBASE - 4) |
Notify window it was [un]docked/reparented.
Definition at line 4116 of file dispatch.h.
#define WM_VBXBASE (WM_OWLLAST - 8 - 256) |
Definition at line 4112 of file dispatch.h.
#define WM_VBXINITFORM (WM_OWLLAST - 7) |
Definition at line 4110 of file dispatch.h.
#define WM_VBXNAME (WM_OWLLAST - 8) |
Definition at line 4111 of file dispatch.h.