LS Mike

I would like to add a red border whenever i select the static text, activeX Control or bitmap. How can i add this effect in it
and how can i retrive it to normal Thanks.

Regards,
Mike



Re: Visual C++ General make a red border for a static text..

Sreedhar DVS

Derive your custom static control from CStatic and override the OnPaint() method; do there what ever you want.






Re: Visual C++ General make a red border for a static text..

Simple Samples

There are more ways to do it but I don't know the details. Try asking in the microsoft.public.win32.programmer.ui newsgroup.