Jump to content
  • Advertisement


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

Zeblar Nagrim

Changing color for a button in win32

This topic is 6149 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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!