How can I draw what is drawn in WM_NCPAINT when the window has lost focus?

enter image description here

  • solved the case WM_NCACTIVATE: SendMessage(hWnd,WM_NCPAINT,0,0); break; problem case WM_NCACTIVATE: SendMessage(hWnd,WM_NCPAINT,0,0); break; case WM_NCACTIVATE: SendMessage(hWnd,WM_NCPAINT,0,0); break; - user185136 pm
  • add that from WM_NCACTIVATE you need to exit return 1; not break; - user185136

0