Hi, I want to add icon on CExtbutton.
As your sample, I use AssignFromHICON() but i couldn’t see icon.
below see my code, please help me.
======================================================
CExtButton m_ctrlBtnExample;
m_ctrlBtnExample.SetWindowPos(NULL, dwX, dwY, 120, 70, NULL);
m_ctrlBtnExample.m_icon.AssignFromHICON(
(HICON) ::LoadImage(
::AfxGetInstanceHandle(),
MAKEINTRESOURCE(IDI_ICON1),
IMAGE_ICON,
32,
32,
0
),
false
);
=======================================================