bianliu1013 / musikcube

Automatically exported from code.google.com/p/musikcube
Other
0 stars 0 forks source link

win32cpp Control Focus #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
win32cpp has a bug where focused Windows are usually not drawn in a
correct, "focused" state. We have no idea why this is happening or how to
fix it.

doep reported that focused controls are usually correctly drawn when using
remote desktop, but not when the app is running locally.

Original issue reported on code.google.com by casey.la...@gmail.com on 9 Sep 2008 at 8:55

GoogleCodeExporter commented 9 years ago
Fixed by using WM_CHANGEUISTATE in OnGainedFocusBase and OnLostFocusBase.

http://msdn.microsoft.com/en-us/library/ms646342(VS.85).aspx

Original comment by casey.la...@gmail.com on 11 Sep 2008 at 10:28

GoogleCodeExporter commented 9 years ago

Original comment by casey.la...@gmail.com on 11 Sep 2008 at 10:28