Archived

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

Xtremehobo

grrr... combo box doesn't drop down

Recommended Posts

Xtremehobo    820
Hi, I''m trying to add some items to my combo box on my win32 dialog like this: SendMessage(GetDlgItem(g_hWnd,IDC_COMBOBOX),CB_ADDSTRING,0,(LONG) (LPSTR) "hahahha"); The problem I''m having though is that when I click the arrow on my combo box, the list doesn''t drop down. There''s a little piece of a list that looks like it drops down, but it looks as if it''s maybe two pixels high becaues there''s nothing in it. However, if I click the combo box and use my arrow keys, I can go through all my items like that (but it still doesn''t drop down). Is there something I have to do in the parent window''s paint function or something? (no, my combo box isn''t owner drawn) Btw, it''s set as a Drop List, but I''ve tried the dropdown and simple styles and it still doesn''t work. Any help would be appriciated Thanks, Matt

Share this post


Link to post
Share on other sites
ChaosEngine    5185
this one got me for ages....

in the resource editor, click on the down arrow in the list and then stretch the box (it''s invisible, you can only pull down the size marker) to the size you want. If you don''t do this, the box drops to a height of 0 pixels!!

"That''s not a bug, it''s a feature!"
--me

Share this post


Link to post
Share on other sites
KurtCPP    130
Is this a remake ????!!!!!! The same question had already been asked here with the very same words. Don''t tell me I''m booby, I was the one that answered it, the sentence was the same one.
XtremeHobo, not just a mere hobo, he''s also an ALF !!!
I knew it, truth is elsewhere.......

Prog, Hex & Rock''n''Roll :
I don''t like the Prog but the Prog likes me.
Some nice poetry to sweeten your spirit and relax a bit before programming

Share this post


Link to post
Share on other sites