home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
status.zip
/
STATUS.H
< prev
next >
Wrap
Text File
|
1995-04-19
|
2KB
|
66 lines
VOID UfMainCreate(PGPFPARMS pGpf);
VOID UfStatParmsEndSpin(PGPFPARMS pGpf);
VOID UfStatParmsFonts(PGPFPARMS pGpf);
VOID UfStatParmsCbx(PGPFPARMS pGpf);
VOID UfStatParmsInit(PGPFPARMS pGpf);
VOID UfStatParmsPBOut(PGPFPARMS pGpf);
VOID UfStatParmsCBBorder(PGPFPARMS pGpf);
VOID UfStatParmsCBTop(PGPFPARMS pGpf);
VOID UfStatParmsPBIn(PGPFPARMS pGpf);
VOID UfStatPBSend(PGPFPARMS pGpf);
VOID UfStatTextAlign(USHORT);
/* set default height for hwndStatus. method will change when dynamic font
support is added %%%%
*/
#define MSG_HEIGHT 24
#define STATUS_FID 50
#define STAT_TEXT_LEN 128
#define WM_USER_SETTEXT WM_USER
#define WM_USER_SETVAL (WM_USER+1)
/* mp1 values for WM_USER_SETVAL. */
#define ST_SIZESHADOW 1
#define ST_BORDER 2
#define ST_INOUT 3
#define ST_TEXTCOLOR 4
#define ST_BORDERCOLOR 5
#define ST_BACKCOLOR 6
#define ST_SHADOWDARKCOLOR 7
#define ST_SHADOWLIGHTCOLOR 8
#define ST_TEXTALIGN 9
#define ST_POSITION 10
typedef struct{
SHORT height; /* total window height */
SHORT usShadow; /* shadow size, in pixels */
BOOL f3DOut;
BOOL fBorder;
BOOL fTop; /* top or bottom of CLIENT */
LONG BackColor;
LONG TextColor;
LONG BorderColor;
LONG ShadowDark;
LONG ShadowLight;
USHORT usAlign; /* text alignment flag for WinDrawText(), DT_xxx */
CHAR achText[STAT_TEXT_LEN]; /* current text */
USHORT usTextAreaHeight;
HDC hdc;
FONTDLG fdlg;
} STATPARMS;
typedef STATPARMS * PSTATPARMS;
#define LEN_STATPARMS sizeof(STATPARMS)
/* The following global handle
could have been local to Ufstat.C, but this way I upset more
German developers (just kidding, Hans!)
The global CAN be avoided if one desires to search the FRAME
window for a child having an ID of STATUS_FID (defined above)
*/
EXTERN HWND hwndStatus;