how to insert buttons in toolbar?
-
hi all, have u know about, how to insert buttons in tool bar. if you know , please help me thanks panthal
-
hi all, have u know about, how to insert buttons in tool bar. if you know , please help me thanks panthal
are you talking about inserting buttons to the toolbar of an sdi application? if so, then you have to go to resource view tab,expand toolbar,click on IDR_MAINFRAME, and then add now button there. any more clarifications? welcome.
-------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.
-
are you talking about inserting buttons to the toolbar of an sdi application? if so, then you have to go to resource view tab,expand toolbar,click on IDR_MAINFRAME, and then add now button there. any more clarifications? welcome.
-------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.
hi, there is no option to insert buttons in resource view i used this code to insert a button, but i 'am in need to have 4 buttons, that was not working. int mWidth = 125; int mHeight = 25; m_wndToolBar.SetButtonInfo(14, IDC_EMPBAPPLY, TBBS_SEPARATOR,mWidth); CRect rect; m_wndToolBar.GetItemRect(14, &rect); rect.bottom = rect.top + mHeight; CString Etext = "Employee"; m_EMPBApply.Create(Etext, WS_VISIBLE, rect, this, IDC_EMPBAPPLY); thanks panthal