Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

CDialogBar

$
0
0

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


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>