Skip to content

Commit

Permalink
增加控件SetShotcutKey函数的实现。
Browse files Browse the repository at this point in the history
  • Loading branch information
blueantst committed Mar 13, 2017
1 parent 46832b1 commit eabbbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuiVision/include/ControlBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class CControlBase : public CDuiObject
BOOL GetDragEnable() { return m_bDragEnable; }
void SetDropFileEnable(BOOL bDropFileEnable) { m_bDropFileEnable = bDropFileEnable; }
BOOL GetDropFileEnable() { return m_bDropFileEnable; }
void SetShotcutKey(UINT nShortcutKey, UINT nShortcutFlag);
void SetShotcutKey(UINT nShortcutKey, UINT nShortcutFlag) { m_nShortcutKey = nShortcutKey; m_nShortcutFlag = nShortcutFlag; }

virtual BOOL PtInRect(CPoint point); // 判断坐标是否在控件范围内
UINT GetControlID() { return m_uID; } // 控件ID就是DUI对象的ID
Expand Down

0 comments on commit eabbbb8

Please sign in to comment.