Somebody help me, please.
Thanks,
Johnny
Johnny Yamazaki <joh...@ccgate.sj.nec.com> wrote in article
<#s016YQq...@uppssnewspub04.moswest.msn.net>...
> I am a biginner for VC++.
> I want to add a cimbo box to toolbar that may look like font selecting in
> Word Processor application.
> VC++5.0 Resource Editor does not allow this.
>
I think that the thing you need is the CDialogBar class. This allows you to
use a dialog template to define a toolbar. I hope this helps.
DEM.
Andrew Slivker
sa...@intergate.net
www.intergate.net/~saga
Johnny Yamazaki wrote in article
<#s016YQq...@uppssnewspub04.moswest.msn.net>...
>I am a biginner for VC++.
>I want to add a cimbo box to toolbar that may look like font selecting in
>Word Processor application.
>VC++5.0 Resource Editor does not allow this.
>
>I want to add a cimbo box to toolbar that may look like font selecting in
>Word Processor application.
Check out the CTRLBARS sample to see how to simply add a combo-box.
Basically you add a dummy item, update its size to be what you need
for the combo, then create the combo on top of it. Kind of a pain but
then CToolBar really wasn't designed for more than buttons.
Beware that the toolbar won't worry about what happens to your combo
when the toolbar is reoriented or resized. If the toolbar is fixed at
the top this shouldn't matter. If you need a toolbar that truely
deals with the issue, see the sig line below. -steve
____________________________________________________________________
McAdams Research - http://www.CodeTools.com/showcase
MFC Toolkit: flat-style toolbar, resizable docking windows, more