Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#27 CBitmapButton and Keyboard

open
5
2005-01-05
2005-01-05
Anonymous
No

CBitmapButton doesn't draw focus rects if tabbing using
the keyboard. Attached zip file has demo project. It
includes a new atlctrlx.h that fixes the focus rect. The
btuttons I'm using are too small so the rect isn't quite
right, but that's ok for a quick sample.

In CMainDlg::OnInitDlg, uncomment the first dwStlye line
to see problem, uncomment 2nd dwStyle line to see
fixed version.

Peter Carlson
peter@howudodat.com

Discussion

  • Sample Project and Fixed atlctrlx.h

     
    Attachments
    • assigned_to: nobody --> nenadstefanovic