ToolbarWindow.h
#pragma once
#include "atlwin.h"
class CToolbarWindow : public CWindowImpl<CToolbarWindow>
{
public:
DECLARE_WND_SUPERCLASS(TEXT("CTOOLBARWINDOW"), TOOLBARCLASSNAME)
BEGIN_MSG_MAP(CToolbarWindow)
MESSAGE_HANDLER(WM_CREATE, OnCreate)
COMMAND_ID_HANDLER(1000, OnKumaButton)
END_MSG_MAP()
//WM_CREATE時の処理
LRESULT OnCreate ( UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled );
LRESULT OnKumaButton ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
CToolbarWindow(void);
virtual ~CToolbarWindow(void);
private:
HIMAGELIST m_hImageList;
};
戻る
コメントスペース