I've noticed that in the Windows Calculator program, when you clidk on
a button with the mouse, the button does not gain focus (i.e. it has
no dotted line border inside it).

How do I duplicate that behavior in my program? Whenever I click on a
CButton object in my window, it highlights the button. I don't want
the button to remain higlighted.

I've found a small work around by using SetFocus to return focus to
the window, but if I click and hold the button down and move out of
the button, the button remains highlighted.

My problem is I don't want that dotted border at all...If the Windows
Calculator can do it, then so can any other program, I assume.

Anyone know how to do this? Thanks.

--Greg