DlgBar using dlgtemplate
-
Can I build a CDialogBAR from an in memory resource, a dlgtemplate? I prefer memorybased Dialogs then .rc-based one for several reasons and I wanna do so with DialogBars, too. Is it possible? What do you think about dlgtemplATE-Dialogs at all, any pros or contras? mfg HintiFlo
-
Can I build a CDialogBAR from an in memory resource, a dlgtemplate? I prefer memorybased Dialogs then .rc-based one for several reasons and I wanna do so with DialogBars, too. Is it possible? What do you think about dlgtemplATE-Dialogs at all, any pros or contras? mfg HintiFlo
If you leave the .rc .bmp empty you could always add whatever you want from the code. You would still be stuck with the resource though, but that is the way CDialogBar works. You can also use a CToolBar to add arbitrary controls in. But this also requires a resource. CToolBar provides more control with GetToolBarCtrl(), so if you want to do more advanced stuff, that is probably the way to go. Cheers,
/FredrikSonork ID: 100.11430:PhatBoy