Skip to content

Rework of SetCursor for Win32 #2

@thennequin

Description

@thennequin

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);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions