Source code of Windows XP (NT5)
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

  1. // Window Procedure to circumvent bug(?) in mfc
  2. struct CWindowInfo {
  3. HWND m_hWnd;
  4. WNDPROC m_oldWindowProc;
  5. CWindowInfo (HWND hWnd, WNDPROC oldWindowProc) : m_hWnd (hWnd),
  6. m_oldWindowProc (oldWindowProc) {}
  7. };
  8. extern CMap<SHORT, SHORT, CWindowInfo*, CWindowInfo*> windowMap;
  9. extern LRESULT CALLBACK
  10. MySubClassProc (HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam);