OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocfevx.h File Reference
#include <owl/private/defs.h>

Go to the source code of this file.

Macros

#define HANDLE_WM_OCEVENT(hwnd, wParam, lParam, fn)    (LRESULT)(fn)((hwnd), (wParam), (lParam))
 
#define HANDLE_OCF(hwnd, message, fn)    case (message): return (LRESULT)HANDLE_##message((hwnd), (lParam), (fn))
 
#define HANDLE_OC_APPINSMENUS(hwnd, lParam, fn)    (LRESULT)(UINT)(bool)(fn)((hwnd), (TOcMenuDescr *)(lParam))
 
#define HANDLE_OC_APPMENUS(hwnd, lParam, fn)    (LRESULT)(UINT)(bool)(fn)((hwnd), (TOcMenuDescr *)(lParam))
 
#define HANDLE_OC_APPPROCESSMSG(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (MSG *)(lParam))
 
#define HANDLE_OC_APPFRAMERECT(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TRect *)(lParam))
 
#define HANDLE_OC_APPBORDERSPACEREQ(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TRect *)(lParam))
 
#define HANDLE_OC_APPBORDERSPACESET(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TRect *)(lParam))
 
#define HANDLE_OC_APPSTATUSTEXT(hwnd, lParam, fn)    ((fn)((hwnd), (const char *)(lParam)), 0L)
 
#define HANDLE_OC_APPRESTOREUI(hwnd, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define HANDLE_OC_APPDIALOGHELP(hwnd, lParam, fn)    ((fn)((hwnd), (TOcDialogHelp *)(lParam)), 0L)
 
#define HANDLE_OC_APPCREATECOMP(hwnd, lParam, fn)    (LRESULT)(fn)((hwnd), (TDocTemplate *)(lParam))
 
#define HANDLE_OC_APPSHUTDOWN(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd))
 
#define HANDLE_OC_VIEWTITLE(hwnd, lParam, fn)    (LRESULT)(fn)((hwnd))
 
#define HANDLE_OC_VIEWBORDERSPACEREQ(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TRECT *)(lParam))
 
#define HANDLE_OC_VIEWBORDERSPACESET(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TRECT *)(lParam))
 
#define HANDLE_OC_VIEWDROP(hwnd, lParam, fn)    (LRESULT)(fn)((hwnd), (TOcDragDrop *)(lParam))
 
#define HANDLE_OC_VIEWDRAG(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TOcDragDrop *)(lParam))
 
#define HANDLE_OC_VIEWSCROLL(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TOcScrollDir *)(lParam))
 
#define HANDLE_OC_VIEWPARTINVALID(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TOcPartChangeInfo *)(lParam))
 
#define HANDLE_OC_VIEWPAINT(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TOcViewPaint *)(lParam))
 
#define HANDLE_OC_VIEWLOADPART(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TOcSaveLoad *)(lParam))
 
#define HANDLE_OC_VIEWSAVEPART(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TOcSaveLoad *)(lParam))
 
#define HANDLE_OC_VIEWCLOSE(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd))
 
#define HANDLE_OC_VIEWINSMENUS(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TOcMenuDescr *)(lParam))
 
#define HANDLE_OC_VIEWWSHOWTOOLS(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TOcToolBar *)(lParam))
 
#define HANDLE_OC_VIEWGETPALETTE(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (LOGPALETTE * *)(lParam))
 
#define HANDLE_OC_VIEWCLIPDATA(hwnd, lParam, fn)    (LRESULT)(fn)((hwnd), (TOcFormat *)(lParam))
 
#define HANDLE_OC_VIEWPARTSIZE(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TRECT *)(lParam))
 
#define HANDLE_OC_VIEWOPENDOC(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (const char *)(lParam))
 
#define HANDLE_OC_VIEWATTACHWINDOW(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd))
 
#define HANDLE_OC_VIEWSETSCALE(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TOcScaleFactor*)(lParam))
 
#define HANDLE_OC_VIEWGETSCALE(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TOcScaleFactor*)(lParam))
 
#define HANDLE_OC_VIEWSETSITERECT(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TRect *)(lParam))
 
#define HANDLE_OC_VIEWGETSITERECT(hwnd, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (TRect *)(lParam))
 
#define HANDLE_OC_VIEWSETTITLE(hwnd, lParam, fn)    ((fn)((hwnd), (const char *)(lParam)), 0)
 

Macro Definition Documentation

◆ HANDLE_OC_APPBORDERSPACEREQ

#define HANDLE_OC_APPBORDERSPACEREQ ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TRect *)(lParam))

Definition at line 53 of file ocfevx.h.

◆ HANDLE_OC_APPBORDERSPACESET

#define HANDLE_OC_APPBORDERSPACESET ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TRect *)(lParam))

Definition at line 60 of file ocfevx.h.

◆ HANDLE_OC_APPCREATECOMP

#define HANDLE_OC_APPCREATECOMP ( hwnd,
lParam,
fn )    (LRESULT)(fn)((hwnd), (TDocTemplate *)(lParam))

Definition at line 88 of file ocfevx.h.

◆ HANDLE_OC_APPDIALOGHELP

#define HANDLE_OC_APPDIALOGHELP ( hwnd,
lParam,
fn )    ((fn)((hwnd), (TOcDialogHelp *)(lParam)), 0L)

Definition at line 81 of file ocfevx.h.

◆ HANDLE_OC_APPFRAMERECT

#define HANDLE_OC_APPFRAMERECT ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TRect *)(lParam))

Definition at line 46 of file ocfevx.h.

◆ HANDLE_OC_APPINSMENUS

#define HANDLE_OC_APPINSMENUS ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(bool)(fn)((hwnd), (TOcMenuDescr *)(lParam))

Definition at line 25 of file ocfevx.h.

◆ HANDLE_OC_APPMENUS

#define HANDLE_OC_APPMENUS ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(bool)(fn)((hwnd), (TOcMenuDescr *)(lParam))

Definition at line 32 of file ocfevx.h.

◆ HANDLE_OC_APPPROCESSMSG

#define HANDLE_OC_APPPROCESSMSG ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (MSG *)(lParam))

Definition at line 39 of file ocfevx.h.

◆ HANDLE_OC_APPRESTOREUI

#define HANDLE_OC_APPRESTOREUI ( hwnd,
lParam,
fn )    ((fn)((hwnd)), 0L)

Definition at line 74 of file ocfevx.h.

◆ HANDLE_OC_APPSHUTDOWN

#define HANDLE_OC_APPSHUTDOWN ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd))

Definition at line 95 of file ocfevx.h.

◆ HANDLE_OC_APPSTATUSTEXT

#define HANDLE_OC_APPSTATUSTEXT ( hwnd,
lParam,
fn )    ((fn)((hwnd), (const char *)(lParam)), 0L)

Definition at line 67 of file ocfevx.h.

◆ HANDLE_OC_VIEWATTACHWINDOW

#define HANDLE_OC_VIEWATTACHWINDOW ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd))

Definition at line 224 of file ocfevx.h.

◆ HANDLE_OC_VIEWBORDERSPACEREQ

#define HANDLE_OC_VIEWBORDERSPACEREQ ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TRECT *)(lParam))

Definition at line 113 of file ocfevx.h.

◆ HANDLE_OC_VIEWBORDERSPACESET

#define HANDLE_OC_VIEWBORDERSPACESET ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TRECT *)(lParam))

Definition at line 120 of file ocfevx.h.

◆ HANDLE_OC_VIEWCLIPDATA

#define HANDLE_OC_VIEWCLIPDATA ( hwnd,
lParam,
fn )    (LRESULT)(fn)((hwnd), (TOcFormat *)(lParam))

Definition at line 203 of file ocfevx.h.

◆ HANDLE_OC_VIEWCLOSE

#define HANDLE_OC_VIEWCLOSE ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd))

Definition at line 176 of file ocfevx.h.

◆ HANDLE_OC_VIEWDRAG

#define HANDLE_OC_VIEWDRAG ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TOcDragDrop *)(lParam))

Definition at line 134 of file ocfevx.h.

◆ HANDLE_OC_VIEWDROP

#define HANDLE_OC_VIEWDROP ( hwnd,
lParam,
fn )    (LRESULT)(fn)((hwnd), (TOcDragDrop *)(lParam))

Definition at line 127 of file ocfevx.h.

◆ HANDLE_OC_VIEWGETPALETTE

#define HANDLE_OC_VIEWGETPALETTE ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (LOGPALETTE * *)(lParam))

Definition at line 196 of file ocfevx.h.

◆ HANDLE_OC_VIEWGETSCALE

#define HANDLE_OC_VIEWGETSCALE ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TOcScaleFactor*)(lParam))

Definition at line 237 of file ocfevx.h.

◆ HANDLE_OC_VIEWGETSITERECT

#define HANDLE_OC_VIEWGETSITERECT ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TRect *)(lParam))

Definition at line 251 of file ocfevx.h.

◆ HANDLE_OC_VIEWINSMENUS

#define HANDLE_OC_VIEWINSMENUS ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TOcMenuDescr *)(lParam))

Definition at line 182 of file ocfevx.h.

◆ HANDLE_OC_VIEWLOADPART

#define HANDLE_OC_VIEWLOADPART ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TOcSaveLoad *)(lParam))

Definition at line 162 of file ocfevx.h.

◆ HANDLE_OC_VIEWOPENDOC

#define HANDLE_OC_VIEWOPENDOC ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (const char *)(lParam))

Definition at line 217 of file ocfevx.h.

◆ HANDLE_OC_VIEWPAINT

#define HANDLE_OC_VIEWPAINT ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TOcViewPaint *)(lParam))

Definition at line 155 of file ocfevx.h.

◆ HANDLE_OC_VIEWPARTINVALID

#define HANDLE_OC_VIEWPARTINVALID ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TOcPartChangeInfo *)(lParam))

Definition at line 148 of file ocfevx.h.

◆ HANDLE_OC_VIEWPARTSIZE

#define HANDLE_OC_VIEWPARTSIZE ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TRECT *)(lParam))

Definition at line 210 of file ocfevx.h.

◆ HANDLE_OC_VIEWSAVEPART

#define HANDLE_OC_VIEWSAVEPART ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TOcSaveLoad *)(lParam))

Definition at line 169 of file ocfevx.h.

◆ HANDLE_OC_VIEWSCROLL

#define HANDLE_OC_VIEWSCROLL ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TOcScrollDir *)(lParam))

Definition at line 141 of file ocfevx.h.

◆ HANDLE_OC_VIEWSETSCALE

#define HANDLE_OC_VIEWSETSCALE ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TOcScaleFactor*)(lParam))

Definition at line 231 of file ocfevx.h.

◆ HANDLE_OC_VIEWSETSITERECT

#define HANDLE_OC_VIEWSETSITERECT ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TRect *)(lParam))

Definition at line 244 of file ocfevx.h.

◆ HANDLE_OC_VIEWSETTITLE

#define HANDLE_OC_VIEWSETTITLE ( hwnd,
lParam,
fn )    ((fn)((hwnd), (const char *)(lParam)), 0)

Definition at line 258 of file ocfevx.h.

◆ HANDLE_OC_VIEWTITLE

#define HANDLE_OC_VIEWTITLE ( hwnd,
lParam,
fn )    (LRESULT)(fn)((hwnd))

Definition at line 106 of file ocfevx.h.

◆ HANDLE_OC_VIEWWSHOWTOOLS

#define HANDLE_OC_VIEWWSHOWTOOLS ( hwnd,
lParam,
fn )    (LRESULT)(UINT)(fn)((hwnd), (TOcToolBar *)(lParam))

Definition at line 189 of file ocfevx.h.

◆ HANDLE_OCF

#define HANDLE_OCF ( hwnd,
message,
fn )    case (message): return (LRESULT)HANDLE_##message((hwnd), (lParam), (fn))

Definition at line 18 of file ocfevx.h.

◆ HANDLE_WM_OCEVENT

#define HANDLE_WM_OCEVENT ( hwnd,
wParam,
lParam,
fn )    (LRESULT)(fn)((hwnd), (wParam), (lParam))

Definition at line 12 of file ocfevx.h.