im using mfc on visual c++ 6.0 and im using the default drawing..
oh and the icon is true color on 16x16 32x32 48x48
CPaintDC dc(this); // device context for painting
SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
// Center icon in client rectangle
int cxIcon = GetSystemMetrics(SM_CXICON);
int cyIcon = GetSystemMetrics(SM_CYICON);
int x = (rect.Width() - cxIcon + 1) / 2;
int y = (rect.Height() - cyIcon + 1) / 2;
// Draw the icon
dc.DrawIcon(x, y, m_hIcon);
well the icon quality is one thing but i can't figure out why it shows that mfc icon when its loading and switches fast to my icon and when i have too many windows in the taskbar the group icon is the mfc one.. lol
edit: ok nvm i fixed the icon problem looks like the default mfc thing has some weird probs
but the mfc icon is still displaying..
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon - so i just removed this line and looks perfect