m_ctrlViewList.SetIcon(AfxGetApp()->LoadIcon(IDI_VIEW_LIST));
:laugh: which m_ctrlViewList is a CButton, more...the icon size is in 32 pixel ================== BTW, if you want set a other size of icon, like 16*16 size, you can code like this.. //.h file CImageList m_ButtonImages; //.cpp file m_ButtonImages.Create(16,16,ILC_COLOR32 ,2,2); //create you icon list m_ButtonImages.Add(AfxGetApp()->LoadIcon(IDI_VIEW_ICON )); m_ButtonImages.Add(AfxGetApp()->LoadIcon(IDI_VIEW_LIST )); m_ctrlViewIcon.SetIcon( m_ButtonImages.ExtractIcon(0)); m_ctrlViewList.SetIcon(m_ButtonImages.ExtractIcon(1));