Files
envi-code/SourceCode/Code2026/EarthWormMain/KTMenuPage.h
T
2026-09-28 15:28:50 +08:00

39 lines
884 B
C++

#pragma once
#include "aduipalette.h"
class KTMenuCtrl;
class KTMenuPage : public CAdUiPalette
{
DECLARE_DYNAMIC(KTMenuPage)
public:
KTMenuPage(void);
~KTMenuPage(void);
public:
BOOL CreateMenuBar(LPCTSTR pszMenuFile,LPCTSTR pszTitle,int nIndex);
//²Ëµ¥
KTMenuCtrl* m_pMenCtrl;
protected:
virtual void GetFloatingMinSize (long *pnMinWidth, long *pnMinHeight);
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
void OnTimer(UINT_PTR nIDEvent);
afx_msg void OnDestroy();
afx_msg void OnWindowPosChanged(WINDOWPOS FAR* lpwndpos);
afx_msg LONG onAcadKeepFocus ( UINT, LONG );
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
BOOL OnMouseWheel(UINT nFlags,short zDelta,CPoint pt);
//- Called by the palette set when the palette is made active
virtual void OnSetActive () ;
DECLARE_MESSAGE_MAP()
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
};