|
|
1.1 root 1: // ************************************************************************
2: // HEADER : ToolBar.H
3: // PURPOSE : A Win32 DLL containing various ToolBar controls
4: // FUNCTIONS :
5: // LibMain() - Dll entry point
6: // TextButtonBar() - generate a text button ToolBar
7: // TextButtonBarProc - processes messages for the TextButtonBarWClass
8: // COMMENTS :
9: // ************************************************************************
10:
11: #define TB_SPACE 0xFFFFFFFF
12:
13: //-- typedefs
14: typedef struct TEXTBUTTON_STRUCT {
15: LPTSTR lpButtonText; // The string that appears on the button
16: INT idButton; // This id is sent to the window proc
17: HWND hWndButton; // The returned window handle of the button
18: } TEXTBUTTON, *LPTEXTBUTTON;
19:
20: //-- prototypes
21: LRESULT CALLBACK TextButtonBarProc( HWND, UINT, WPARAM, LPARAM );
22: HWND TextButtonBar( HWND, LPTEXTBUTTON, LPINT );
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.