CtrlCore: Ctrl::[Un]RegisterSystemHotKey

git-svn-id: svn://ultimatepp.org/upp/trunk@1589 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-09-24 09:41:58 +00:00
parent 0351e4aa2b
commit 5f258ee935
3 changed files with 48 additions and 1 deletions

View file

@ -579,6 +579,8 @@ private:
String GetInfoPart(int i) const;
static Callback CtrlCall;
static Vector<Callback> hotkey;
static bool DoCall();
@ -693,6 +695,7 @@ protected:
void Create0(CreateBox *cr);
void Create(HWND parent, DWORD style, DWORD exstyle, bool savebits, int show, bool dropshadow);
Image DoMouse(int e, Point p, int zd = 0);
static void sProcessMSG(MSG& msg);
friend void sSetCursor(Ctrl *ctrl, const Image& m);
@ -898,6 +901,9 @@ public:
static void InstallStateHook(StateHook hook);
static void DeinstallStateHook(StateHook hook);
static int RegisterSystemHotKey(dword key, Callback cb);
static void UnregisterSystemHotKey(int id);
virtual bool Accept();
virtual void Reject();