المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : CDialogBar Usage very confusing..



C++ Programming
06-29-2010, 01:22 AM
Hi,

This CDialogBar is very confusing

The Doc says create/instatiate in MainFrame OnCreate


but.....

I want to use it later on in my modeless Dialog Box

do I create it on the heap.... via new and save the pointer

then do a ShowWindow in my Oninitdialog handler

can anyone give me guidence