toolbar.h

来自「<Win2k系统编程>源码.次数为国人自编,内容丰富,还是不错的.」· C头文件 代码 · 共 29 行

H
29
字号

/******************************************************************************\
*       This is a part of the Microsoft Source Code Samples. 
*       Copyright (C) 1993-1997 Microsoft Corporation.
*       All rights reserved. 
*       This source code is only intended as a supplement to 
*       Microsoft Development Tools and/or WinHelp documentation.
*       See these sources for detailed information regarding the 
*       Microsoft samples programs.
\******************************************************************************/

#ifndef TOOLBAR_H

 #define TOOLBAR_H

 #define TB_SPACE 0xFFFFFFFF

 //-- typedefs
 typedef struct TEXTBUTTON_STRUCT {
           LPTSTR lpButtonText;   // The string that appears on the button
           INT    idButton;       // This id is sent to the window proc
           HWND   hWndButton;     // The returned window handle of the button
         } TEXTBUTTON, *LPTEXTBUTTON;

 //-- prototypes
 HWND TextButtonBar( HWND, LPTEXTBUTTON, LPINT );

#endif // TOOLBAR_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?