EasyWindow icon indicating copy to clipboard operation
EasyWindow copied to clipboard

Rework of SetCursor for Win32

Open thennequin opened this issue 8 years ago • 0 comments

Preload cursor at creation to avoid loading of cursor when event WM_SETCURSOR is called.

::SetCursor(LoadCursor(NULL, IDC_ARROW));

To

m_pCusorArrow = LoadCursor(NULL, IDC_ARROW); . . . ::SetCursor(m_pCursorArrow);

thennequin avatar Sep 05 '17 17:09 thennequin