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