OWLNext
7.0
Borland's Object Windows Library for the modern age
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
_
b
c
d
h
i
j
m
o
p
r
s
t
u
y
Enumerations
a
o
s
t
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
c
d
e
i
l
p
r
s
t
v
Enumerations
c
h
p
q
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Related Symbols
d
g
i
o
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
_
c
d
g
i
m
o
s
t
w
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
▼
OWLNext
►
Overview of ObjectWindows
Accessing application objects
Finding the object
Creating a small application
Using WinMain and OwlMain
►
About command enabling
►
ObjectWindows Exception Handling
Todo List
►
Topics
►
Namespaces
►
Classes
▼
Files
▼
File List
►
documentation
▼
include
►
ocf
▼
owl
▼
private
►
borlandc.h
bwcc.h
►
checks.h
►
cygwin.h
►
defs.h
dir.h
►
dumpstack.h
except.h
►
gmodule.h
►
gnuc.h
►
memory.h
►
mingw32.h
►
msc.h
►
number.h
ole2inc.h
►
owllink.h
►
regexp.h
►
strmdefs.h
►
winelib.h
►
wsysinc.h
animctrl.h
►
appdict.h
►
applicat.h
►
bardescr.h
bitmapga.h
►
bitset.h
btntextg.h
button.h
buttonga.h
celarray.h
checkbox.h
►
checklst.h
►
chooseco.h
►
choosefo.h
clipboar.h
clipview.h
cmdline.h
►
codepages.h
►
colmnhdr.h
►
color.h
►
combobex.h
combobox.h
►
commctrl.h
commdial.h
►
commview.h
configfl.h
►
contain.h
control.h
controlb.h
controlg.h
►
coolbar.h
►
date.h
►
datetime.h
dc.h
►
decframe.h
►
decmdifr.h
►
defs.h
dialog.h
dibitmap.h
►
dispatch.h
►
docking.h
►
docmanag.h
►
doctpl.h
►
docview.h
draglist.h
drawitem.h
edit.h
editfile.h
editsear.h
editview.h
►
eventhan.h
►
exbase.h
►
except.h
►
file.h
filedoc.h
►
filename.h
►
findrepl.h
►
fixedpnt.h
flatctrl.h
floatfra.h
►
framewin.h
fscroll.h
►
functor.h
►
gadget.h
►
gadgetwi.h
gauge.h
►
gdibase.h
►
gdiobjec.h
►
gdiplus.h
►
geometry.h
►
glyphbtn.h
groupbox.h
►
hlpmanag.h
hotkey.h
imagelst.h
inputdia.h
ipaddres.h
►
layoutco.h
layoutwi.h
►
lclstrng.h
listbox.h
listboxview.h
►
listview.h
►
listviewctrl.h
►
listwind.h
►
mailer.h
►
mci.h
►
mdi.h
►
mdichild.h
►
memcbox.h
►
menu.h
menugadg.h
►
messageb.h
►
metafile.h
modegad.h
►
module.h
monthcal.h
►
msgthred.h
►
notetab.h
►
objstrm.h
►
opensave.h
owlall.h
owlcore.h
►
owlvcl.h
pager.h
►
panespli.h
pch.h
►
picker.h
picklist.h
pictwind.h
►
pointer.h
popupgad.h
posclass.h
preclass.h
preview.h
prevwin.h
►
printdia.h
►
printer.h
profile.h
progressbar.h
►
property.h
►
propsht.h
psview.h
radiobut.h
►
rcntfile.h
►
registry.h
►
resource.h
►
richedit.h
richedpr.h
richedv.h
rolldial.h
►
scrollba.h
►
scroller.h
►
serialze.h
►
shddel.h
►
shellitm.h
►
shelwapi.h
signatur.h
►
slider.h
►
splashwi.h
►
splitter.h
►
static.h
►
statusba.h
►
streambl.h
►
string.h
syslink.h
►
system.h
►
tabbed.h
►
tabctrl.h
►
template.h
►
textgadg.h
►
theme.h
►
thread.h
►
time.h
►
timegadg.h
tinycapt.h
►
toolbox.h
►
tooltip.h
►
transfer.h
►
transferbuffer.h
►
trayicon.h
►
treeviewctrl.h
►
treewind.h
►
uihelper.h
►
uimetric.h
►
updown.h
►
validate.h
►
window.h
►
windowev.h
►
winsock.h
►
wskaddr.h
►
wskerr.h
►
wskhostm.h
►
wskservm.h
►
wsksock.h
►
wsksockd.h
►
wsksockm.h
►
wsyscls.h
►
wsysinc.h
►
source
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
bwcc.h
Go to the documentation of this file.
1
//
2
/// \file
3
/// Legacy support for Borland Windows Custom Controls (BWCC)
4
//
5
// Part of OWLNext - the next generation Object Windows Library
6
// Copyright (c) 1995, 1996 by Borland International, All Rights Reserved
7
//
8
// For more information, including license details, see
9
// http://owlnext.sourceforge.net
10
//
11
12
// Borland Windows Custom Controls
13
// (C) Copyright 1991-1998 by Borland International
14
15
16
17
#if !defined(__BWCC_H)
18
#define __BWCC_H
19
20
#if defined(OWL_SUPPORT_BWCC)
21
22
#ifndef RC_INVOKED
23
#pragma warn -nak
/* Ignore non-ansi keywords */
24
#endif
25
26
#if !defined(WORKSHOP_INVOKED)
27
28
#if !defined(__WINDOWS_H)
29
#include <windows.h>
30
31
#endif
32
33
#endif
34
35
#define BWCCVERSION 0x0200
// version 2.00
36
37
// from version 1.02 onward BWCCGetversion returns a DWORD
38
// The low-order word contains the version number
39
// and the high-order word contains the locale
40
41
#define BWCC_LOCALE_US 1
42
#define BWCC_LOCALE_JAPAN 2
43
44
45
#define BORDLGPROP "FB"
// Borland dialog window uses
46
// this property for instance data
47
// users should not use a property
48
// with this name!
49
50
#if !defined( IDHELP)
51
52
#define IDHELP 998
// Id of help button
53
54
#endif
55
56
#define BORDLGCLASS "BorDlg"
// Our Custom Dialog class
57
#define BORGRAYCLASS "BorDlg_Gray"
// Our Custom Dialog class - gray background
58
#define BUTTON_CLASS "BorBtn"
// Our Bitmap Buttons
59
#define RADIO_CLASS "BorRadio"
// Our Radio Buttons
60
#define CHECK_CLASS "BorCheck"
// Our Check Boxes
61
#define STATIC_CLASS "BorStatic"
// Our statics
62
#define SHADE_CLASS "BorShade"
// Our Group Boxes and Dividers
63
64
#if !defined(EXPORT)
65
#define EXPORT __declspec(dllexport)
66
#endif
67
68
#define BWCCAPI EXPORT APIENTRY
69
70
// button style definitions:
71
72
// the Borland buttons use Windows button styles for button
73
// type: i.e. BS_PUSHBUTTON/BS_DEFPUSHBUTTON
74
75
// styles
76
77
#define BBS_BITMAP 0x8000L
// this is a bitmap static
78
#define BBS_PARENTNOTIFY 0x2000L
// Notify parent of TAB keys and focus
79
#define BBS_OWNERDRAW 0x1000L
// let parent paint via WM_DRAWITEM
80
81
// messages
82
83
#define BBM_SETBITS ( BM_SETSTYLE + 10)
84
85
// notifications
86
87
#define BBN_SETFOCUS ( BN_DOUBLECLICKED + 10)
88
#define BBN_SETFOCUSMOUSE ( BN_DOUBLECLICKED + 11)
89
#define BBN_GOTATAB ( BN_DOUBLECLICKED + 12)
90
#define BBN_GOTABTAB ( BN_DOUBLECLICKED + 13)
91
#define BBN_MOUSEENTER ( BN_DOUBLECLICKED + 14)
92
#define BBN_MOUSELEAVE ( BN_DOUBLECLICKED + 14)
93
94
95
// The following is the name of the window message passed to
96
// RegisterWindowMessage for CtlColor processing for group box shades:
97
#define BWCC_CtlColor_Shade "BWCC_CtlColor_Shade"
98
99
#define BSS_GROUP 1L
// recessed group box
100
#define BSS_HDIP 2L
// horizontal border
101
#define BSS_VDIP 3L
// vertical border
102
#define BSS_HBUMP 4L
// horizontal speed bump
103
#define BSS_VBUMP 5L
// vertical speed bump
104
#define BSS_RGROUP 6L
// raised group box
105
106
#define BSS_CAPTION 0x8000L
// Set off the caption
107
#define BSS_CTLCOLOR 0x4000L
// Send WM_CTLCOLOR messages to parent of control
108
#define BSS_NOPREFIX 0x2000L
// & in caption does not underline following letter
109
#define BSS_LEFT 0x0000L
// Caption is left-justified
110
#define BSS_CENTER 0x0100L
// Caption is centered
111
#define BSS_RIGHT 0x0200L
// Caption is right-justified
112
#define BSS_ALIGNMASK 0x0300L
113
114
115
#if defined( __cplusplus )
116
extern
"C"
{
117
#endif
/* __cplusplus */
118
119
extern
HGLOBAL
BWCCAPI
SpecialLoadDialog
120
(
121
122
HINSTANCE
hResMod
,
123
LPCSTR
lpResName
,
124
DLGPROC
fpDlgProc
125
);
126
127
extern
HGLOBAL
BWCCAPI
MangleDialog
128
(
129
HGLOBAL
hDlg
,
130
HINSTANCE
hResources
,
131
DLGPROC
fpDialogProc
132
);
133
134
extern
LRESULT
BWCCAPI
BWCCDefDlgProc
135
(
136
HWND
hWnd
,
137
UINT
message
,
138
WPARAM
wParam
,
139
LPARAM
lParam
140
);
141
extern
LRESULT
BWCCAPI
BWCCDefGrayDlgProc
142
(
143
HWND
hWnd
,
144
UINT
message
,
145
WPARAM
wParam
,
146
LPARAM
lParam
147
);
148
149
150
extern
LRESULT
BWCCAPI
BWCCDefWindowProc
151
(
152
HWND
hWnd
,
153
UINT
message
,
154
WPARAM
wParam
,
155
LPARAM
lParam
156
);
157
158
extern
LRESULT
BWCCAPI
BWCCDefMDIChildProc
159
(
160
HWND
hWnd
,
161
UINT
message
,
162
WPARAM
wParam
,
163
LPARAM
lParam
164
);
165
166
extern
int
BWCCAPI
BWCCMessageBox
167
(
168
HWND
hWndParent
,
169
LPCSTR
lpText
,
170
LPCSTR
lpCaption
,
171
UINT
wType
172
);
173
174
175
extern
HBRUSH
BWCCAPI
BWCCGetPattern
(
void
);
176
177
extern
DWORD
BWCCAPI
BWCCGetVersion
(
void
);
178
179
extern
BOOL
BWCCAPI
BWCCIntlInit
(
UINT
language
);
180
181
extern
BOOL
BWCCAPI
BWCCIntlTerm
(
VOID
);
182
183
extern
BOOL
BWCCAPI
BWCCRegister
(
HINSTANCE
hInsta
);
184
185
#if defined( __cplusplus )
186
}
187
#endif
/* __cplusplus */
188
189
#ifndef RC_INVOKED
190
#pragma warn .nak
/* Ignore non-ansi keywords */
191
#endif
192
193
#else
//#if defined(OWL_SUPPORT_BWCC)
194
195
#error bwcc.h should be include only when OWL_SUPPORT_BWCC is defined
196
197
#endif
//#if defined(OWL_SUPPORT_BWCC)
198
199
#endif
/* __BWCC_H */
VarType
Definition
safearray.h:14
include
owl
private
bwcc.h
Generated by
1.10.0