My current code is:
SetDlgItemText (hwnd, QUESTIONBOX, EQ1)
It returns an error, saying that it cannot convert from const int to const char :S
Hmm wat if i use SetWindowText..
Could someone paste in the exact code i need to type to make this work. thanks.
In Winapi (Visual C++) , how do i get a string "EQ1" from my string list into my resource box "QUESTIONBOX" ?
The following link from Microsoft shows an example on
how to use "SetDlgItemText"
http://msdn.microsoft.com/library/defaul...
SetDlgItemText(hDlg, IDS_POS, Roster[i].tchPosition);
May be this can help you
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment