• Advertisement

Archived

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

windows problem

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