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