12-06-2007, 08:29 AM
To draw and erase focus rectangle can be used
GetDC(0)
DrawFocusRect
ReleaseDC
But not sure it will work well when drawing on windows of other apps. Alternatively can be used transparent dialog or toolbar that does not have any border and caption styles except WS_BORDER (1 pixel black border).
GetDC(0)
DrawFocusRect
ReleaseDC
But not sure it will work well when drawing on windows of other apps. Alternatively can be used transparent dialog or toolbar that does not have any border and caption styles except WS_BORDER (1 pixel black border).