home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / dlgcbr.zip / DLGBARS.H < prev    next >
C/C++ Source or Header  |  1994-06-30  |  2KB  |  71 lines

  1. /*****************************************************************************
  2.   DLGBARS.H
  3.  
  4.   Purpose: 
  5.       Interface for CDlgToolBar, a special type of CToolBar which does not
  6.       expect a parent frame window to be available, and CDlgStatusBar, which
  7.       does the same for CStatusBars.  This allows the control bars
  8.       to be used in applications where the main window is a dialog bar.
  9.  
  10.   Functions:
  11.     CDlgToolBar::CDlgToolBar()          -- constructor
  12.     CDlgToolBar::~CDlgToolBar()         -- destructor
  13.     CDlgToolBar::OnIdleUpdateCmdUI()    -- WM_IDLEUPDATECMDUI handler
  14.     
  15.     CDlgStatusBar::CDlgStatusBar()      -- constructor
  16.     CDlgStatusBar::~CDlgStatusBar()     -- destructor
  17.     CDlgStatusBar::OnIdleUpdateCmdUI()    -- WM_IDLEUPDATECMDUI handler
  18.  
  19.   Development Team:
  20.     Mary Kirtland
  21.  
  22.   Written by Microsoft Product Support Services, Premier ISV Support
  23.   Copyright (c) 1994 Microsoft Corporation. All rights reserved.
  24. \****************************************************************************/
  25.  
  26. #ifndef __DLGBARS_H__
  27.     #define __DLGBARS_H__
  28.  
  29. class CDlgToolBar : public CToolBar 
  30. {   
  31. // Construction
  32. public:
  33.     CDlgToolBar();
  34.    
  35. // Implementation
  36. public:   
  37.     virtual ~CDlgToolBar();
  38.  
  39. protected:                
  40.     // Generated message map functions
  41.     //{{AFX_MSG(CDlgToolBar)
  42.     afx_msg LRESULT OnIdleUpdateCmdUI(WPARAM wParam, LPARAM);
  43.     //}}AFX_MSG
  44.     DECLARE_MESSAGE_MAP()
  45. };        
  46.  
  47. class CDlgStatusBar : public CStatusBar 
  48. {   
  49. // Construction
  50. public:
  51.     CDlgStatusBar();
  52.    
  53. // Implementation
  54. public:   
  55.     virtual ~CDlgStatusBar();
  56.  
  57. protected:                
  58.     // Generated message map functions
  59.     //{{AFX_MSG(CDlgStatusBar)
  60.     afx_msg LRESULT OnIdleUpdateCmdUI(WPARAM wParam, LPARAM);
  61.     //}}AFX_MSG
  62.     DECLARE_MESSAGE_MAP()
  63. };
  64.  
  65.  
  66.  
  67. #endif //__DLGBARS_H__
  68.  
  69.  
  70.  
  71.