I am trying to work with CDialogBar. I followed the instruction on the following link to change the base class from CDialog to CDialogBar:
However when I execute the code the DialogBar does not show up, At this point I do not include the last step of the instruction:
----http://support.microsoft.com/kb/185672/en-us
I do not add the following code:
m_myDlgBar.SetBarStyle(m_wndToolBar.GetBarStyle() |
CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC);
m_myDlgBar.EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_myDlgBar);
If I try to add the above line, the part m_wndToolBar.GetBarStyle() give me an error. I cannot useGetBarStyle as a function.
I am using visual studio 2013... Could someone guide me to get this to work...
Thanks
YA