抛弃GdCpp*.dll/pdb历史重新建库。libhv和Sqlite的dll保留
This commit is contained in:
23
staticOnly/KsMFC/CPushButton.h
Normal file
23
staticOnly/KsMFC/CPushButton.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
|
||||
class CPushButton : public CBCGPButton
|
||||
{
|
||||
public:
|
||||
CPushButton()
|
||||
{
|
||||
|
||||
}
|
||||
virtual ~CPushButton() {
|
||||
|
||||
}
|
||||
|
||||
std::function<void(UINT, CPoint)> userOnLButtonDown;
|
||||
std::function<void(UINT, CPoint)> userOnLButtonUp;
|
||||
protected:
|
||||
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);//按下和弹起事件
|
||||
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user