Click to See Complete Forum and Search --> : Toolbar height


rafiki
May 20th, 1999, 02:18 PM
ppl how can i get the height of toolbar??
what is the right way?
thanks

Jaeyeon Lee
May 20th, 1999, 07:50 PM
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();