
Originally Posted by
rzdybel
...
So basically, I'm doing the following:
Code:
case CBN_SELCHANGE:
{
...
// set the new contents of the Edit Box
ComboBox_SetText(m_hRecipients, (LPCWSTR)csRecipients);
return TRUE;
}
l
Try to
Code:
PostMessage(m_hRecipients, WM_SETTEXT, 0, (LPARAM)(LPCWSTR)csRecipients);
instead.
PS: please, next time use Code tags around code snippets.