acce55
October 20th, 2009, 11:21 AM
where does this go in win32 code? inside winapi winmain? or below or above where i define stuff
SetDlgItemText(hwnd, IDC_TEXT, "This is a string");
SetDlgItemText(hwnd, IDC_TEXT, "This is a string");
|
Click to See Complete Forum and Search --> : setdlgitemtext acce55 October 20th, 2009, 11:21 AM where does this go in win32 code? inside winapi winmain? or below or above where i define stuff SetDlgItemText(hwnd, IDC_TEXT, "This is a string"); olivthill2 October 20th, 2009, 11:37 AM Usually, this line is not in winmain(), because your dialog item might not yet be created. You can write this line in a function which is called after your dialog item is created, and before it is destroyed. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |