Removal of the focus rectangle

I'm new to mfc.
I need to remove the focus rectangle from controls.
(I don't want ready dll's that apply the change to the entire system)
both owner controls and system controls.

I tried using the api call:

but it seems to ignore values that exceed a given range.

The next obvious option is to use message maps but I am unsure on the message to use.

If we have a system defined button that implements it's own message maps(lets say it can handle message A).

And my Cwnd derived class implements a message map where it handles mesaage A.

if message A is sent then who will handle the message.
As I understand it the button will.

thanks in advance.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!