Hi. how would i change the text of an object (label) WITHOUT creating a member variable for it?
thanks
Printable View
Hi. how would i change the text of an object (label) WITHOUT creating a member variable for it?
thanks
Try this:
Code:LRESULT lRes;
char* myStr = "My String";
lRes = SendDlgItemMessage(hWnd_Main, IDC_STATIC, WM_SETTEXT, 0, (LPARAM)myStr);