mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
375 B
13 lines
375 B
// Window Procedure to circumvent bug(?) in mfc
|
|
struct CWindowInfo {
|
|
HWND m_hWnd;
|
|
WNDPROC m_oldWindowProc;
|
|
CWindowInfo (HWND hWnd, WNDPROC oldWindowProc) : m_hWnd (hWnd),
|
|
m_oldWindowProc (oldWindowProc) {}
|
|
};
|
|
|
|
extern CMap<SHORT, SHORT, CWindowInfo*, CWindowInfo*> windowMap;
|
|
|
|
|
|
extern LRESULT CALLBACK
|
|
MySubClassProc (HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam);
|