• Advertisement


This topic is now archived and is closed to further replies.

Changing color for a button in win32

This topic is 5971 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


for(i=0; i<m_aChildWnds.size(); i++)
 if((HWND) p_lParam == m_aChildWnds[i].m_hWnd ) 
  SetBkMode((HDC) p_wParam, TRANSPARENT) ;   
  SetBkColor((HDC)p_wParam, m_aChildWnds[i].GetColor());         
  return (long) m_aChildWnds[i].GetBrush();     
Why dosen´t this work? (I get no debug error and I know that I reccive the message in the msgproc). Zeblar Nagrim, Lord of Chaos Edited by - Zeblar Nagrim on December 16, 2001 5:42:45 PM Edited by - Zeblar Nagrim on December 16, 2001 5:43:21 PM

Share this post

Link to post
Share on other sites

  • Advertisement