// // CControlWinButton.h // // (c)Copyright 2004 Steven J. Eschweiler. All Rights Reserved. // #pragma once #include "cbaseclasswindow.h" class CControlWinButton : public CBaseClassWindow { public: CControlWinButton(void); virtual ~CControlWinButton(void); LRESULT WndProc(HWND hwnd, UINT mMsg, WPARAM wParam, LPARAM lParam); void OnCreate(); bool Init(HWND hwndParent,UINT nControlID,LPCTSTR lpText,DWORD dwButtonStyle,int x,int y,int width=0,int height=0); };