PDA

Click to See Complete Forum and Search --> : problems again!!


Zej
Aug 24th, 2000, 03:36 PM
Hi. how would i change the text of an object (label) WITHOUT creating a member variable for it?

thanks

parksie
Aug 24th, 2000, 03:39 PM
Try this:

LRESULT lRes;
char* myStr = "My String";

lRes = SendDlgItemMessage(hWnd_Main, IDC_STATIC, WM_SETTEXT, 0, (LPARAM)myStr);