Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What to learn: MFC for C++ or Windows API? Pin
Toby Opferman28-May-05 7:08
Toby Opferman28-May-05 7:08 
GeneralTrouble retrieving File Summary Info from Office and NTFS documents. Pin
awbaker6226-May-05 13:43
awbaker6226-May-05 13:43 
QuestionI/O skipping the buffer??? Pin
knapak26-May-05 13:35
knapak26-May-05 13:35 
AnswerRe: I/O skipping the buffer??? Pin
Christian Graus26-May-05 14:17
protectorChristian Graus26-May-05 14:17 
GeneralRe: I/O skipping the buffer??? Pin
Anonymous26-May-05 15:15
Anonymous26-May-05 15:15 
GeneralRe: I/O skipping the buffer??? Pin
Christian Graus26-May-05 15:23
protectorChristian Graus26-May-05 15:23 
GeneralToolBar question! Pin
goiania26-May-05 13:28
goiania26-May-05 13:28 
GeneralRe: ToolBar question! Pin
Shog926-May-05 13:43
sitebuilderShog926-May-05 13:43 
GeneralRe: ToolBar question! Pin
goiania26-May-05 14:00
goiania26-May-05 14:00 
Questioncontext menu on form without titlebar? Pin
FreewareFire26-May-05 12:02
FreewareFire26-May-05 12:02 
AnswerRe: context menu on form without titlebar? Pin
FreewareFire27-May-05 10:33
FreewareFire27-May-05 10:33 
Generalsetting different time zone Pin
pnpfriend26-May-05 11:26
pnpfriend26-May-05 11:26 
GeneralRe: setting different time zone Pin
geo_m26-May-05 18:29
geo_m26-May-05 18:29 
GeneralRe: setting different time zone Pin
pnpfriend27-May-05 4:16
pnpfriend27-May-05 4:16 
GeneralRe: setting different time zone Pin
geo_m29-May-05 19:29
geo_m29-May-05 19:29 
GeneralUsing custom buttons in a CToolbar Pin
mckavity26-May-05 10:12
mckavity26-May-05 10:12 
GeneralRe: Using custom buttons in a CToolbar Pin
mckavity26-May-05 10:15
mckavity26-May-05 10:15 
GeneralRe: Using custom buttons in a CToolbar Pin
Shog926-May-05 12:16
sitebuilderShog926-May-05 12:16 
The toolbar control is a single window. There are (by default) no child controls created. What look like buttons are drawn (and the behavior controlled) by the toolbar control itself - no relation to pushbuttons, radiobuttons, etc.

So... You can subclss CToolBarCtrl, and do funky stuff there if you like, or use your own icons and the custom draw API to change appearance. I'm gonna caution you from the outset though - toolbars are a huge, huge annoyance to do custom work with. Don't expect to get some fancy new deviation from the norm implemented and working in an afternoon unless you either buy/borrow the code, or have gobs of experience with the control already. IMHO, it probably has the worst design and implementation of any of the common controls, and each new version of Windows (or IE) brings a new pile of ugly hacks to the mix.

You must be careful in the forest
Broken glass and rusty nails
If you're to bring back something for us
I have bullets for sale...

GeneralRe: Using custom buttons in a CToolbar Pin
mckavity27-May-05 3:35
mckavity27-May-05 3:35 
GeneralWM_SETTEXT Desperate Issue Pin
Axonn Echysttas26-May-05 9:50
Axonn Echysttas26-May-05 9:50 
GeneralRe: WM_SETTEXT Desperate Issue Pin
David Crow26-May-05 10:06
David Crow26-May-05 10:06 
GeneralRe: WM_SETTEXT Desperate Issue Pin
Axonn Echysttas26-May-05 10:50
Axonn Echysttas26-May-05 10:50 
GeneralRe: WM_SETTEXT Desperate Issue Pin
Ryan Binns26-May-05 18:41
Ryan Binns26-May-05 18:41 
GeneralRe: WM_SETTEXT Desperate Issue Pin
Axonn Echysttas26-May-05 21:40
Axonn Echysttas26-May-05 21:40 
Generalcreate a text wallpaper Pin
jet91526-May-05 9:37
jet91526-May-05 9:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.