Jump to content
  • Advertisement

Archived

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

Densun

Winamp type GUI

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

Does anyone know how the GUI for Winamp (or anything else similar) is drawn to the screen? Do they use windowed mode with DirectDraw or Windows graphics functions?

Share this post


Link to post
Share on other sites
Advertisement
hi,

I think winamp use the normal WIN GDI mean every window has an
Device Handle. The Device handle can use for Grafik operation like BitBli() and so on. I think winamp use the WM_PAINT messeage to owner draw the whole main window and the child controls are subclassed ors with his own Message handler.

I''ve found a litle demo you can check this out to understand how this work :D try this http://www.codeproject.com/gdi/ there you can found many tutorials about GDI

hope this help''s

Imp

Share this post


Link to post
Share on other sites
I''ve made a fully-skinned app like Winamp, and I must warn you that it''s lots harder that just handling WM_PAINT. Drawing is the easiest part. There are tons of messages you''ll have to handle to make the app behave properly. Sadly, I didn''t find a single source of truly helpful information on doing this when I wanted to, so I had to figure it out by myself. I''d tell you how to do it, but it would take a long time to explain it all, so, if you end up really needing more help, I will, but do try yourself first.

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!