ppl how can i get the height of toolbar??
what is the right way?
thanks
Printable View
ppl how can i get the height of toolbar??
what is the right way?
thanks
If you had created your project using AppWizard, you may have a pointer to the toolbar,
generally in CMainFrame class. With that m_wndToolBar, call GetWindowRect function as follows.
CRect rect;
m_wndToolBar.GetWindowRect(&rect);
int height = rect.Height();