home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / debug / deb / toolbar.h < prev    next >
Text File  |  1997-10-05  |  1KB  |  29 lines

  1.  
  2. /******************************************************************************\
  3. *       This is a part of the Microsoft Source Code Samples. 
  4. *       Copyright (C) 1993-1997 Microsoft Corporation.
  5. *       All rights reserved. 
  6. *       This source code is only intended as a supplement to 
  7. *       Microsoft Development Tools and/or WinHelp documentation.
  8. *       See these sources for detailed information regarding the 
  9. *       Microsoft samples programs.
  10. \******************************************************************************/
  11.  
  12. #ifndef TOOLBAR_H
  13.  
  14.  #define TOOLBAR_H
  15.  
  16.  #define TB_SPACE 0xFFFFFFFF
  17.  
  18.  //-- typedefs
  19.  typedef struct TEXTBUTTON_STRUCT {
  20.            LPTSTR lpButtonText;   // The string that appears on the button
  21.            INT    idButton;       // This id is sent to the window proc
  22.            HWND   hWndButton;     // The returned window handle of the button
  23.          } TEXTBUTTON, *LPTEXTBUTTON;
  24.  
  25.  //-- prototypes
  26.  HWND TextButtonBar( HWND, LPTEXTBUTTON, LPINT );
  27.  
  28. #endif // TOOLBAR_H
  29.