|
-
May 18th, 2002, 11:18 AM
#1
Thread Starter
Member
Combo text update
OS Win98
Compiler: VC6++
Subject: Combo boxes
Trying to insert/add a string a combo box, but failing. I don't get an error but the string isn't added. Pointers?
Code:
case WM_COMMAND:
switch(wParam){
case BS_PUSHBUTTON:
if (SendMessage(hCombo,CB_ADDSTRING ,0,(LPARAM)"ABCDEF")!=CB_ERR)
UpdateWindow(hCombo);
MessageBox(hwnd,"Combo updated","",MB_OK);
break;
Thanks
hmm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|