CExToolBar Class Reference

#include <ExToolBar.h>

List of all members.

Public Member Functions

 CExToolBar (void)
virtual ~CExToolBar ()
BOOL LoadToolBar (UINT id)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)

Public Attributes

UINT rsrcID

Detailed Description

Definition at line 21 of file ExToolBar.h.


Constructor & Destructor Documentation

CExToolBar ( void   ) 

ちらつき防止用

Definition at line 23 of file ExToolBar.cpp.

00024 {
00025     //pFrame    = pfrm;
00026     rsrcID  = 0;
00027 }

~CExToolBar (  )  [virtual]

Definition at line 31 of file ExToolBar.cpp.

00032 {
00033 }


Member Function Documentation

BOOL LoadToolBar ( UINT  id  ) 

Definition at line 37 of file ExToolBar.cpp.

References CExToolBar::rsrcID.

00038 {
00039     rsrcID = id;
00040 
00041     return CToolBar::LoadToolBar(id);
00042 }

BOOL OnEraseBkgnd ( CDC *  pDC  ) 

Definition at line 54 of file ExToolBar.cpp.

00055 {
00056     // ちらつき防止
00057     ::InvalidateRect(this->m_hWnd, NULL, FALSE);
00058     ::UpdateWindow(this->m_hWnd);
00059 
00060     return CToolBar::OnEraseBkgnd(pDC);
00061 }


Member Data Documentation

UINT rsrcID

Definition at line 27 of file ExToolBar.h.

Referenced by CExToolBar::LoadToolBar().


The documentation for this class was generated from the following files:

Generated on 15 Nov 2023 for JunkBox_Win_Lib by  doxygen 1.6.1