Jump to content
  • Advertisement

Archived

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

AlexM

windows problem

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

Can't directly answer your question, but...

If you look at the DPCHAT example in DirectPlay, there's some combo box code in there that you could probably look at and hopefully learn from.

Mason McCuskey
Spin Studios
www.spin-studios.com

Share this post


Link to post
Share on other sites
Advertisement
i'm using the predefined combobox class in windows (VC++). it sets up just fine and i can add stings to it. They are actually there, but when i drag down the list, it doesn't show any of them! what am i missing?

char item[] = "HELLO THERE";
combohwnd[0] = CreateWindow("COMBOBOX","",WS_CHILD|CBS_DROPDOWNLIST|CBS_SORT|CBS_HASSTRINGS,0,0,100,20,mainhwnd,1,hGInst,NULL);
SendMessage(combohwnd[0],CB_ADDSTRING,0,(LPARAM)item);

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!