home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_03_02
/
3n02045b
< prev
next >
Wrap
Text File
|
1991-12-16
|
2KB
|
34 lines
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Begin Listing 6-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/*****************************************************/
/* mlecptn.h */
/* -- Interface to module to implement a captioned */
/* MLE. */
/*****************************************************/
/* Public prototypes. */
BOOL FInitCaptionedMle(HANDLE);
HWND HwndCaptionedMle(HWND, RECT *, char *, BOOL);
/*****************************************************/
/* Macro to set title of Captioned MLE. */
/* -- hwnd : Window handle returned by */
/* HwndCaptionedMle(). */
/* -- lsz : Title string. */
/*****************************************************/
#define SetMleText(hwnd, lsz) \
SetWindowText(GetWindow((hwnd), GW_CHILD), (lsz))
/*****************************************************/
/* Macro to get title of Captioned MLE. */
/* -- hwnd : Window handle returned by */
/* HwndCaptionedMle(). */
/* -- lsz : Title string. */
/* -- cb : Maximum size of title in bytes. */
/*****************************************************/
#define GetMleText(hwnd, lsz, cb) \
GetWindowText(GetWindow((hwnd), GW_CHILD), (lsz), \
(cb))
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-End Listing 6-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=