You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to show a tooltip-like window near a mouse pointer, for I poll for its position and on each call check dpi (in case the mouse moves to a different monitor) to update the size of the tooltip accordingly if dpi changes
However, I've noticed that this generates a lot of GDI DC handles
I'd like to show a tooltip-like window near a mouse pointer, for I poll for its position and on each call check dpi (in case the mouse moves to a different monitor) to update the size of the tooltip accordingly if dpi changes
However, I've noticed that this generates a lot of GDI DC handles
Is it simply missing an extra releasedc call after calculating DPI?
https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-releasedc
The text was updated successfully, but these errors were encountered: