8#if !defined(OCF_OCFEVENT_H)
12#if defined(BI_HAS_PRAGMA_ONCE)
21#if defined(OWL5_COMPAT)
28DECLARE_SIGNATURE1(
bool,B_OC_MD_Sig,TOcMenuDescr &)
29DECLARE_SIGNATURE1(
bool,B_OC_DD_Sig,TOcDragDrop &)
31DECLARE_SIGNATURE1(
bool,B_OC_PCI_Sig,TOcPartChangeInfo&)
32DECLARE_SIGNATURE1(
bool,B_OC_VP_Sig,TOcViewPaint &)
33DECLARE_SIGNATURE1(
bool,B_OC_VSP_Sig,TOcSaveLoad &)
34DECLARE_SIGNATURE1(
bool,B_OC_VCF_Sig,TOcFormatData &)
35DECLARE_SIGNATURE1(
bool,B_OC_VTB_Sig,TOcToolBarInfo &)
36DECLARE_SIGNATURE1(
bool,B_OC_VSS_Sig,TOcScaleFactor&)
37DECLARE_SIGNATURE1(
bool,B_OC_PS_Sig,TOcPartSize &)
38DECLARE_SIGNATURE1(
bool,B_OC_IT_Sig,TOcItemName&)
39DECLARE_SIGNATURE1(
bool,B_OC_SL_Sig,TOcLinkView&)
40DECLARE_SIGNATURE1(
bool,B_OC_PA_Sig,
TOcPart&)
41DECLARE_SIGNATURE1(
bool,B_OC_PO_Sig,TOcInitInfo&)
42DECLARE_SIGNATURE1(
bool,B_OC_PI32_Sig,
owl::int32*)
43DECLARE_SIGNATURE1(
bool,B_OC_PI16_Sig,
owl::int16*)
44DECLARE_SIGNATURE1(
bool,B_OC_I16_Sig,
owl::int16)
45DECLARE_SIGNATURE1(
bool,B_OC_PB_Sig,
bool*)
47DECLARE_SIGNATURE1(
bool,B_OC_PPID_Sig,IDispatch **)
49DECLARE_SIGNATURE1(
bool,B_OC_PID_Sig,IDispatch*)
54DECLARE_SIGNATURE1(
bool,B_OC_PE_Sig,TCtrlEvent*)
55DECLARE_SIGNATURE1(
bool,B_OC_PME_Sig,TCtrlMouseEvent*)
56DECLARE_SIGNATURE1(
bool,B_OC_PKE_Sig,TCtrlKeyEvent*)
57DECLARE_SIGNATURE1(
bool,B_OC_PFE_Sig,TCtrlFocusEvent*)
58DECLARE_SIGNATURE1(
bool,B_OC_PPE_Sig,TCtrlPropertyEvent*)
59DECLARE_SIGNATURE1(
bool,B_OC_PCE_Sig,TCtrlCustomEvent*)
60DECLARE_SIGNATURE1(
bool,B_OC_PEE_Sig,TCtrlErrorEvent*)
85 {
return sendMessage(wnd,
WM_OCEVENT, eventId, p2);}
87 template <
class T, TResult (T::*M)(u
int eventId, TParam2)>
89 {
return (
static_cast<T*
>(i)->*M)(
static_cast<uint>(p1), p2);}
95 template <owl::u
int NotificationCode,
typename TParamType>
96 struct TNotificationDispatchBase
99 static bool Encode(F sendMessage, HWND wnd, TParamType p)
100 {
return sendMessage(wnd,
WM_OCEVENT, NotificationCode,
static_cast<TParam2>(p)) == TRUE;}
102 template <
class T,
bool (T::*M)(TParamType p)>
104 {
return (
static_cast<T*
>(i)->*M)(
static_cast<TParamType
>(p2)) ? TRUE : FALSE;}
110 template <owl::u
int NotificationCode,
typename TParamType>
111 struct TNotificationDispatchBase<NotificationCode, TParamType*>
114 static bool Encode(F sendMessage, HWND wnd, TParamType* p)
115 {
return sendMessage(wnd,
WM_OCEVENT, NotificationCode,
reinterpret_cast<TParam2>(p)) == TRUE;}
117 template <
class T,
bool (T::*M)(TParamType* p)>
119 {
return (
static_cast<T*
>(i)->*M)(
reinterpret_cast<TParamType*
>(p2)) ? TRUE : FALSE;}
127 template <owl::u
int NotificationCode,
typename TParamType>
128 struct TNotificationDispatchBase<NotificationCode, TParamType&>
131 static bool Encode(F sendMessage, HWND wnd, TParamType& p)
132 {
return sendMessage(wnd,
WM_OCEVENT, NotificationCode,
reinterpret_cast<TParam2>(&p)) == TRUE;}
134 template <
class T,
bool (T::*M)(TParamType& p)>
138 return (p2 != 0 && (
static_cast<T*
>(i)->*M)(*
reinterpret_cast<TParamType*
>(p2))) ? TRUE : FALSE;
145 template <owl::u
int NotificationCode>
146 struct TNotificationDispatchBase<NotificationCode, void>
149 static bool Encode(F sendMessage, HWND wnd)
150 {
return sendMessage(wnd,
WM_OCEVENT, NotificationCode, 0) == TRUE;}
152 template <
class T,
bool (T::*M)()>
154 {
return (
static_cast<T*
>(i)->*M)() ? TRUE : FALSE;}
160 template <owl::u
int NotificationCode>
161 struct TNotificationDispatch;
165template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_APPINSMENUS> : TNotificationDispatchBase<OC_APPINSMENUS, ocf::TOcMenuDescr&> {};
166template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_APPMENUS> : TNotificationDispatchBase<OC_APPMENUS, ocf::TOcMenuDescr&> {};
167template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_APPPROCESSMSG> : TNotificationDispatchBase<OC_APPPROCESSMSG, MSG*> {};
168template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_APPFRAMERECT> : TNotificationDispatchBase<OC_APPMENUS, TRect*> {};
169template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_APPBORDERSPACEREQ> : TNotificationDispatchBase<OC_APPMENUS, TRect*> {};
170template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_APPBORDERSPACESET> : TNotificationDispatchBase<OC_APPMENUS, TRect*> {};
175 static void Encode(F sendMessage, HWND wnd, LPCTSTR statusText)
178 template <
class T,
void (T::*M)(LPCTSTR statusText)>
180 {
return (
static_cast<T*
>(i)->*M)(
reinterpret_cast<LPCTSTR
>(p2)), 0;}
186 static void Encode(F sendMessage, HWND wnd)
189 template <
class T,
void (T::*M)()>
191 {
return (
static_cast<T*
>(i)->*M)(), 0;}
200 template <
class T,
void (T::*M)(ocf::TOcDialogHelp& p)>
204 return p2 != 0 ? ((
static_cast<T*
>(i)->*M)(*
reinterpret_cast<ocf::TOcDialogHelp*
>(p2)), 0) : 0;
209: TNotificationDispatchBase<OC_APPSHUTDOWN, void>
215 static LPCTSTR
Encode(F sendMessage, HWND wnd)
218 template <
class T, LPCTSTR (T::*M)()>
220 {
return reinterpret_cast<TResult>((
static_cast<T*
>(i)->*M)());}
226 static void Encode(F sendMessage, HWND wnd, LPCTSTR title)
229 template <
class T,
void (T::*M)(LPCTSTR title)>
231 {
return (
static_cast<T*
>(i)->*M)(
reinterpret_cast<LPCTSTR
>(p2)), 0;}
234template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWBORDERSPACEREQ> : TNotificationDispatchBase<OC_VIEWBORDERSPACEREQ, TRect*> {};
235template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWBORDERSPACESET> : TNotificationDispatchBase<OC_VIEWBORDERSPACESET, TRect*> {};
236template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWDROP> : TNotificationDispatchBase<OC_VIEWDROP, ocf::TOcDragDrop&> {};
237template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWDRAG> : TNotificationDispatchBase<OC_VIEWDRAG, ocf::TOcDragDrop&> {};
238template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWSCROLL> : TNotificationDispatchBase<OC_VIEWSCROLL, ocf::TOcScrollDir> {};
239template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWPARTINVALID> : TNotificationDispatchBase<OC_VIEWPARTINVALID, ocf::TOcPartChangeInfo&> {};
240template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWPAINT> : TNotificationDispatchBase<OC_VIEWPAINT, ocf::TOcViewPaint&> {};
241template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWLOADPART> : TNotificationDispatchBase<OC_VIEWLOADPART, ocf::TOcSaveLoad&> {};
242template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWSAVEPART> : TNotificationDispatchBase<OC_VIEWSAVEPART, ocf::TOcSaveLoad&> {};
243template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWCLOSE> : TNotificationDispatchBase<OC_VIEWCLOSE, void> {};
244template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWINSMENUS> : TNotificationDispatchBase<OC_VIEWINSMENUS, ocf::TOcMenuDescr&> {};
245template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWSHOWTOOLS> : TNotificationDispatchBase<OC_VIEWSHOWTOOLS, ocf::TOcToolBarInfo&> {};
246template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWGETPALETTE> : TNotificationDispatchBase<OC_VIEWGETPALETTE, LOGPALETTE**> {};
247template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWCLIPDATA> : TNotificationDispatchBase<OC_VIEWCLIPDATA, ocf::TOcFormatData&> {};
248template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWSETDATA> : TNotificationDispatchBase<OC_VIEWSETDATA, ocf::TOcFormatData&> {};
249template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWPARTSIZE> : TNotificationDispatchBase<OC_VIEWPARTSIZE, ocf::TOcPartSize&> {};
250template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWOPENDOC> : TNotificationDispatchBase<OC_VIEWOPENDOC, LPCTSTR> {};
251template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWATTACHWINDOW> : TNotificationDispatchBase<OC_VIEWATTACHWINDOW, bool> {};
252template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWSETSCALE> : TNotificationDispatchBase<OC_VIEWSETSCALE, ocf::TOcScaleFactor&> {};
253template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWGETSCALE> : TNotificationDispatchBase<OC_VIEWGETSCALE, ocf::TOcScaleFactor&> {};
254template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWGETSITERECT> : TNotificationDispatchBase<OC_VIEWGETSITERECT, TRect*> {};
255template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWSETSITERECT> : TNotificationDispatchBase<OC_VIEWSETSITERECT, TRect*> {};
256template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWGETITEMNAME> : TNotificationDispatchBase<OC_VIEWGETITEMNAME, ocf::TOcItemName&> {};
257template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWSETLINK> : TNotificationDispatchBase<OC_VIEWSETLINK, ocf::TOcLinkView&> {};
258template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWBREAKLINK> : TNotificationDispatchBase<OC_VIEWBREAKLINK, ocf::TOcLinkView&> {};
259template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWPARTACTIVATE> : TNotificationDispatchBase<OC_VIEWPARTACTIVATE, ocf::TOcPart&> {};
260template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWPASTEOBJECT> : TNotificationDispatchBase<OC_VIEWPASTEOBJECT, ocf::TOcInitInfo&> {};
261template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_VIEWDOVERB> : TNotificationDispatchBase<OC_VIEWDOVERB, uint> {};
263template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETBACKCOLOR> : TNotificationDispatchBase<OC_AMBIENT_GETBACKCOLOR, int32*> {};
264template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETFORECOLOR> : TNotificationDispatchBase<OC_AMBIENT_GETFORECOLOR, int32*> {};
265template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETLOCALEID> : TNotificationDispatchBase<OC_AMBIENT_GETLOCALEID, int32*> {};
266template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETTEXTALIGN> : TNotificationDispatchBase<OC_AMBIENT_GETTEXTALIGN, int16*> {};
267template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETMESSAGEREFLECT> : TNotificationDispatchBase<OC_AMBIENT_GETMESSAGEREFLECT, bool*> {};
268template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETUSERMODE> : TNotificationDispatchBase<OC_AMBIENT_GETUSERMODE, bool*> {};
269template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETUIDEAD> : TNotificationDispatchBase<OC_AMBIENT_GETUIDEAD, bool*> {};
270template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETSHOWGRABHANDLES> : TNotificationDispatchBase<OC_AMBIENT_GETSHOWGRABHANDLES, bool*> {};
271template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETSHOWHATCHING> : TNotificationDispatchBase<OC_AMBIENT_GETSHOWHATCHING, bool*> {};
272template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETSUPPORTSMNEMONICS> : TNotificationDispatchBase<OC_AMBIENT_GETSUPPORTSMNEMONICS, bool*> {};
273template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETDISPLAYASDEFAULT> : TNotificationDispatchBase<OC_AMBIENT_GETDISPLAYASDEFAULT, bool*> {};
274template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETDISPLAYNAME> : TNotificationDispatchBase<OC_AMBIENT_GETDISPLAYNAME, TString**> {};
275template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETSCALEUNITS> : TNotificationDispatchBase<OC_AMBIENT_GETSCALEUNITS, TString**> {};
276template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_GETFONT> : TNotificationDispatchBase<OC_AMBIENT_GETFONT, IDispatch**> {};
278template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETBACKCOLOR> : TNotificationDispatchBase<OC_AMBIENT_SETBACKCOLOR, int32> {};
279template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETFORECOLOR> : TNotificationDispatchBase<OC_AMBIENT_SETFORECOLOR, int32> {};
280template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETLOCALEID> : TNotificationDispatchBase<OC_AMBIENT_SETLOCALEID, int32> {};
281template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETTEXTALIGN> : TNotificationDispatchBase<OC_AMBIENT_SETTEXTALIGN, int16> {};
282template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETMESSAGEREFLECT> : TNotificationDispatchBase<OC_AMBIENT_SETMESSAGEREFLECT, bool> {};
283template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETUSERMODE> : TNotificationDispatchBase<OC_AMBIENT_SETUSERMODE, bool> {};
284template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETUIDEAD> : TNotificationDispatchBase<OC_AMBIENT_SETUIDEAD, bool> {};
285template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETSHOWGRABHANDLES> : TNotificationDispatchBase<OC_AMBIENT_SETSHOWGRABHANDLES, bool> {};
286template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETSHOWHATCHING> : TNotificationDispatchBase<OC_AMBIENT_SETSHOWHATCHING, bool> {};
287template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETDISPLAYASDEFAULT> : TNotificationDispatchBase<OC_AMBIENT_SETDISPLAYASDEFAULT, bool> {};
288template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETSUPPORTSMNEMONICS> : TNotificationDispatchBase<OC_AMBIENT_SETSUPPORTSMNEMONICS, bool> {};
289template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETDISPLAYNAME> : TNotificationDispatchBase<OC_AMBIENT_SETDISPLAYNAME, TString*> {};
290template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETSCALEUNITS> : TNotificationDispatchBase<OC_AMBIENT_SETSCALEUNITS, TString*> {};
291template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_AMBIENT_SETFONT> : TNotificationDispatchBase<OC_AMBIENT_SETFONT, IDispatch*> {};
293template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_CLICK> : TNotificationDispatchBase<OC_CTRLEVENT_CLICK, ocf::TCtrlEvent*> {};
294template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_DBLCLICK> : TNotificationDispatchBase<OC_CTRLEVENT_DBLCLICK, ocf::TCtrlEvent*> {};
295template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_MOUSEDOWN> : TNotificationDispatchBase<OC_CTRLEVENT_MOUSEDOWN, ocf::TCtrlMouseEvent*> {};
296template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_MOUSEUP> : TNotificationDispatchBase<OC_CTRLEVENT_MOUSEUP, ocf::TCtrlMouseEvent*> {};
297template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_MOUSEMOVE> : TNotificationDispatchBase<OC_CTRLEVENT_MOUSEMOVE, ocf::TCtrlMouseEvent*> {};
298template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_KEYDOWN> : TNotificationDispatchBase<OC_CTRLEVENT_KEYDOWN, ocf::TCtrlKeyEvent*> {};
299template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_KEYUP> : TNotificationDispatchBase<OC_CTRLEVENT_KEYUP, ocf::TCtrlKeyEvent*> {};
300template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_ERROREVENT> : TNotificationDispatchBase<OC_CTRLEVENT_ERROREVENT, ocf::TCtrlErrorEvent*> {};
301template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_FOCUS> : TNotificationDispatchBase<OC_CTRLEVENT_FOCUS, ocf::TCtrlFocusEvent*> {};
302template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_PROPERTYCHANGE> : TNotificationDispatchBase<OC_CTRLEVENT_PROPERTYCHANGE, ocf::TCtrlPropertyEvent*> {};
303template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_PROPERTYREQUESTEDIT> : TNotificationDispatchBase<OC_CTRLEVENT_PROPERTYREQUESTEDIT, ocf::TCtrlPropertyEvent*> {};
304template <>
struct TDispatch<
WM_OCEVENT>::TNotificationDispatch<OC_CTRLEVENT_CUSTOMEVENT> : TNotificationDispatchBase<OC_CTRLEVENT_CUSTOMEVENT, ocf::TCtrlCustomEvent*> {};
316#define OCF_EV_(notificationCode, method)\
317 {{WM_OCEVENT}, notificationCode,\
318 OWL_DISPATCH(::owl::TDispatch<WM_OCEVENT>::TNotificationDispatch<notificationCode>::Decode, method)}
323#define EV_OCEVENT(id, method) OWL_ID_EV_(WM_OCEVENT, id, method)
328#define EV_OC_APPINSMENUS OCF_EV_(OC_APPINSMENUS, EvOcAppInsMenus)
329#define EV_OC_APPMENUS OCF_EV_(OC_APPMENUS, EvOcAppMenus)
330#define EV_OC_APPPROCESSMSG OCF_EV_(OC_APPPROCESSMSG, EvOcAppProcessMsg)
331#define EV_OC_APPFRAMERECT OCF_EV_(OC_APPFRAMERECT, EvOcAppFrameRect)
332#define EV_OC_APPBORDERSPACEREQ OCF_EV_(OC_APPBORDERSPACEREQ, EvOcAppBorderSpaceReq)
333#define EV_OC_APPBORDERSPACESET OCF_EV_(OC_APPBORDERSPACESET, EvOcAppBorderSpaceSet)
334#define EV_OC_APPSTATUSTEXT OCF_EV_(OC_APPSTATUSTEXT, EvOcAppStatusText)
335#define EV_OC_APPRESTOREUI OCF_EV_(OC_APPRESTOREUI, EvOcAppRestoreUI)
336#define EV_OC_APPDIALOGHELP OCF_EV_(OC_APPDIALOGHELP, EvOcAppDialogHelp)
337#define EV_OC_APPSHUTDOWN OCF_EV_(OC_APPSHUTDOWN, EvOcAppShutdown)
342#define EV_OC_VIEWTITLE OCF_EV_(OC_VIEWTITLE, EvOcViewTitle)
343#define EV_OC_VIEWSETTITLE OCF_EV_(OC_VIEWSETTITLE, EvOcViewSetTitle)
344#define EV_OC_VIEWBORDERSPACEREQ OCF_EV_(OC_VIEWBORDERSPACEREQ, EvOcViewBorderSpaceReq)
345#define EV_OC_VIEWBORDERSPACESET OCF_EV_(OC_VIEWBORDERSPACESET, EvOcViewBorderSpaceSet)
346#define EV_OC_VIEWDROP OCF_EV_(OC_VIEWDROP, EvOcViewDrop)
347#define EV_OC_VIEWDRAG OCF_EV_(OC_VIEWDRAG, EvOcViewDrag)
348#define EV_OC_VIEWSCROLL OCF_EV_(OC_VIEWSCROLL, EvOcViewScroll)
349#define EV_OC_VIEWPARTINVALID OCF_EV_(OC_VIEWPARTINVALID, EvOcViewPartInvalid)
350#define EV_OC_VIEWPAINT OCF_EV_(OC_VIEWPAINT, EvOcViewPaint)
351#define EV_OC_VIEWLOADPART OCF_EV_(OC_VIEWLOADPART, EvOcViewLoadPart)
352#define EV_OC_VIEWSAVEPART OCF_EV_(OC_VIEWSAVEPART, EvOcViewSavePart)
353#define EV_OC_VIEWCLOSE OCF_EV_(OC_VIEWCLOSE, EvOcViewClose)
354#define EV_OC_VIEWINSMENUS OCF_EV_(OC_VIEWINSMENUS, EvOcViewInsMenus)
355#define EV_OC_VIEWSHOWTOOLS OCF_EV_(OC_VIEWSHOWTOOLS, EvOcViewShowTools)
356#define EV_OC_VIEWGETPALETTE OCF_EV_(OC_VIEWGETPALETTE, EvOcViewGetPalette)
357#define EV_OC_VIEWCLIPDATA OCF_EV_(OC_VIEWCLIPDATA, EvOcViewClipData)
358#define EV_OC_VIEWSETDATA OCF_EV_(OC_VIEWSETDATA, EvOcViewSetData)
359#define EV_OC_VIEWPARTSIZE OCF_EV_(OC_VIEWPARTSIZE, EvOcViewPartSize)
360#define EV_OC_VIEWOPENDOC OCF_EV_(OC_VIEWOPENDOC, EvOcViewOpenDoc)
361#define EV_OC_VIEWATTACHWINDOW OCF_EV_(OC_VIEWATTACHWINDOW, EvOcViewAttachWindow)
362#define EV_OC_VIEWSETSCALE OCF_EV_(OC_VIEWSETSCALE, EvOcViewSetScale)
363#define EV_OC_VIEWGETSCALE OCF_EV_(OC_VIEWGETSCALE, EvOcViewGetScale)
364#define EV_OC_VIEWGETSITERECT OCF_EV_(OC_VIEWGETSITERECT, EvOcViewGetSiteRect)
365#define EV_OC_VIEWSETSITERECT OCF_EV_(OC_VIEWSETSITERECT, EvOcViewSetSiteRect)
366#define EV_OC_VIEWGETITEMNAME OCF_EV_(OC_VIEWGETITEMNAME, EvOcViewGetItemName)
367#define EV_OC_VIEWSETLINK OCF_EV_(OC_VIEWSETLINK, EvOcViewSetLink)
368#define EV_OC_VIEWBREAKLINK OCF_EV_(OC_VIEWBREAKLINK, EvOcViewBreakLink)
369#define EV_OC_VIEWPARTACTIVATE OCF_EV_(OC_VIEWPARTACTIVATE, EvOcViewPartActivate)
370#define EV_OC_VIEWPASTEOBJECT OCF_EV_(OC_VIEWPASTEOBJECT, EvOcViewPasteObject)
371#define EV_OC_VIEWDOVERB OCF_EV_(OC_VIEWDOVERB, EvOcViewDoVerb)
380#define EV_OC_AMBIENT_GETBACKCOLOR OCF_EV_(OC_AMBIENT_GETBACKCOLOR, EvOcAmbientGetBackColor)
381#define EV_OC_AMBIENT_GETFORECOLOR OCF_EV_(OC_AMBIENT_GETFORECOLOR, EvOcAmbientGetForeColor)
382#define EV_OC_AMBIENT_GETLOCALEID OCF_EV_(OC_AMBIENT_GETLOCALEID, EvOcAmbientGetLocaleID)
383#define EV_OC_AMBIENT_GETTEXTALIGN OCF_EV_(OC_AMBIENT_GETTEXTALIGN, EvOcAmbientGetTextAlign)
384#define EV_OC_AMBIENT_GETMESSAGEREFLECT OCF_EV_(OC_AMBIENT_GETMESSAGEREFLECT, EvOcAmbientGetMessageReflect)
385#define EV_OC_AMBIENT_GETUSERMODE OCF_EV_(OC_AMBIENT_GETUSERMODE, EvOcAmbientGetUserMode)
386#define EV_OC_AMBIENT_GETUIDEAD OCF_EV_(OC_AMBIENT_GETUIDEAD, EvOcAmbientGetUIDead)
387#define EV_OC_AMBIENT_GETSHOWGRABHANDLES OCF_EV_(OC_AMBIENT_GETSHOWGRABHANDLES, EvOcAmbientGetShowGrabHandles)
388#define EV_OC_AMBIENT_GETSHOWHATCHING OCF_EV_(OC_AMBIENT_GETSHOWHATCHING, EvOcAmbientGetShowHatching)
389#define EV_OC_AMBIENT_GETSUPPORTSMNEMONICS OCF_EV_(OC_AMBIENT_GETSUPPORTSMNEMONICS, EvOcAmbientGetSupportsMnemonics)
390#define EV_OC_AMBIENT_GETDISPLAYASDEFAULT OCF_EV_(OC_AMBIENT_GETDISPLAYASDEFAULT, EvOcAmbientGetDisplayAsDefault)
391#define EV_OC_AMBIENT_GETDISPLAYNAME OCF_EV_(OC_AMBIENT_GETDISPLAYNAME, EvOcAmbientGetDisplayName)
392#define EV_OC_AMBIENT_GETSCALEUNITS OCF_EV_(OC_AMBIENT_GETSCALEUNITS, EvOcAmbientGetScaleUnits)
393#define EV_OC_AMBIENT_GETFONT OCF_EV_(OC_AMBIENT_GETFONT, EvOcAmbientGetFont)
398#define EV_OC_AMBIENT_SETBACKCOLOR OCF_EV_(OC_AMBIENT_SETBACKCOLOR, EvOcAmbientSetBackColor)
399#define EV_OC_AMBIENT_SETFORECOLOR OCF_EV_(OC_AMBIENT_SETFORECOLOR, EvOcAmbientSetForeColor)
400#define EV_OC_AMBIENT_SETLOCALEID OCF_EV_(OC_AMBIENT_SETLOCALEID, EvOcAmbientSetLocaleID)
401#define EV_OC_AMBIENT_SETTEXTALIGN OCF_EV_(OC_AMBIENT_SETTEXTALIGN, EvOcAmbientSetTextAlign)
402#define EV_OC_AMBIENT_SETMESSAGEREFLECT OCF_EV_(OC_AMBIENT_SETMESSAGEREFLECT, EvOcAmbientSetMessageReflect)
403#define EV_OC_AMBIENT_SETUSERMODE OCF_EV_(OC_AMBIENT_SETUSERMODE, EvOcAmbientSetUserMode)
404#define EV_OC_AMBIENT_SETUIDEAD OCF_EV_(OC_AMBIENT_SETUIDEAD, EvOcAmbientSetUIDead)
405#define EV_OC_AMBIENT_SETSHOWGRABHANDLES OCF_EV_(OC_AMBIENT_SETSHOWGRABHANDLES, EvOcAmbientSetShowGrabHandles)
406#define EV_OC_AMBIENT_SETSHOWHATCHING OCF_EV_(OC_AMBIENT_SETSHOWHATCHING, EvOcAmbientSetShowHatching)
407#define EV_OC_AMBIENT_SETDISPLAYASDEFAULT OCF_EV_(OC_AMBIENT_SETDISPLAYASDEFAULT, EvOcAmbientSetDisplayAsDefault)
408#define EV_OC_AMBIENT_SETSUPPORTSMNEMONICS OCF_EV_(OC_AMBIENT_SETSUPPORTSMNEMONICS, EvOcAmbientSetSupportsMnemonics)
409#define EV_OC_AMBIENT_SETDISPLAYNAME OCF_EV_(OC_AMBIENT_SETDISPLAYNAME, EvOcAmbientSetDisplayName)
410#define EV_OC_AMBIENT_SETSCALEUNITS OCF_EV_(OC_AMBIENT_SETSCALEUNITS, EvOcAmbientSetScaleUnits)
411#define EV_OC_AMBIENT_SETFONT OCF_EV_(OC_AMBIENT_SETFONT, EvOcAmbientSetFont)
416#define EV_OC_CTRLEVENT_CLICK OCF_EV_(OC_CTRLEVENT_CLICK, EvOcCtrlClick)
417#define EV_OC_CTRLEVENT_DBLCLICK OCF_EV_(OC_CTRLEVENT_DBLCLICK, EvOcCtrlDblClick)
418#define EV_OC_CTRLEVENT_MOUSEDOWN OCF_EV_(OC_CTRLEVENT_MOUSEDOWN, EvOcCtrlMouseDown)
419#define EV_OC_CTRLEVENT_MOUSEUP OCF_EV_(OC_CTRLEVENT_MOUSEUP, EvOcCtrlMouseUp)
420#define EV_OC_CTRLEVENT_MOUSEMOVE OCF_EV_(OC_CTRLEVENT_MOUSEMOVE, EvOcCtrlMouseMove)
421#define EV_OC_CTRLEVENT_KEYDOWN OCF_EV_(OC_CTRLEVENT_KEYDOWN, EvOcCtrlKeyDown)
422#define EV_OC_CTRLEVENT_KEYUP OCF_EV_(OC_CTRLEVENT_KEYUP, EvOcCtrlKeyUp)
423#define EV_OC_CTRLEVENT_ERROREVENT OCF_EV_(OC_CTRLEVENT_ERROREVENT, EvOcCtrlErrorEvent)
424#define EV_OC_CTRLEVENT_FOCUS OCF_EV_(OC_CTRLEVENT_FOCUS, EvOcCtrlFocus)
425#define EV_OC_CTRLEVENT_PROPERTYCHANGE OCF_EV_(OC_CTRLEVENT_PROPERTYCHANGE, EvOcCtrlPropertyChange)
426#define EV_OC_CTRLEVENT_PROPERTYREQUESTEDIT OCF_EV_(OC_CTRLEVENT_PROPERTYREQUESTEDIT, EvOcCtrlPropertyRequestEdit)
427#define EV_OC_CTRLEVENT_CUSTOMEVENT OCF_EV_(OC_CTRLEVENT_CUSTOMEVENT, EvOcCtrlCustomEvent)
#define PRECONDITION(condition)
Reference to reference counted string object TUString Lightweight reference object consisting of a po...
Definition of TEventHandler and related classes & macros.
Object Component Framework (COM encapsulation)
Object Windows Library (OWLNext Core)
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
LRESULT TResult
Result type.
Definition of TOcApp application connection class.
Definition of TOcControl class - Proxy object representing a control in.
Definition of Compound Document TOcView Class.
static TResult Decode(void *i, TParam1, TParam2 p2)
static void Encode(F sendMessage, HWND wnd, ocf::TOcDialogHelp &p)
static void Encode(F sendMessage, HWND wnd)
static TResult Decode(void *i, TParam1, TParam2)
static TResult Decode(void *i, TParam1, TParam2 p2)
static void Encode(F sendMessage, HWND wnd, LPCTSTR statusText)
static TResult Decode(void *i, TParam1, TParam2 p2)
static void Encode(F sendMessage, HWND wnd, LPCTSTR title)
static TResult Decode(void *i, TParam1, TParam2)
static LPCTSTR Encode(F sendMessage, HWND wnd)
static bool Encode(F sendMessage, HWND wnd, TParamType &p)
static TResult Decode(void *i, TParam1, TParam2 p2)
static bool Encode(F sendMessage, HWND wnd, TParamType *p)
static TResult Decode(void *i, TParam1, TParam2 p2)
static TResult Decode(void *i, TParam1, TParam2)
static bool Encode(F sendMessage, HWND wnd)
static bool Encode(F sendMessage, HWND wnd, TParamType p)
static TResult Decode(void *i, TParam1, TParam2 p2)
static TResult Encode(F sendMessage, HWND wnd, uint eventId, TParam2 p2)
static TResult Decode(void *i, TParam1 p1, TParam2 p2)
Undefined default template for dispatchers Template specialization is used to allow the compiler to l...