UI Beginner: CToolBar, CToolBarCtrl and CImageList
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I've been a programmer for years, but I'm really bad(inexperienced) at VC++ visual components. I've got a dialog-based app. and I just want to drop a toolbar on it and an ImageList i.e. insert the ActiveX controls, but VC++ creates wrapper classes for them. First of all for the Image List it creates a CImageList1 class which you can't pass to CToolBarCtrl, infact the wrapper for the ToolBar OCX creates CToolBar....I know how to get CToolBarCtrl out of it, but it still doesn't help. I really thought this would be easy.....I was hoping this would be quick, but VC++ makes it really long and often doesn't work.....AM I DOING THIS WRONG? ANY HELP WOULD BE MUCH APPRECIATED!. Daniel