Files
envi-code/SourceCode/Code2026/EarthWormMain/KTMenuPage.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

39 lines
889 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);
};