|
-
August 25th, 1999, 02:56 AM
#1
Why doesn't this work???? HELP!
Here's my code:
[ccode]
char strTitle[101];
HWND hWnd = NULL;
HWND hwnd = NULL;
hWnd = ::FindWindow(NULL, "DlgTitle");
hwnd = ::GetDlgItem(hWnd, IDC_EDIT);
::SetWindowText(hwnd, "test");
Everything compiles fine, and it runs fine, except for my edit control doesn't say 'test'
why not?
I've debuged it and all the HWND's get the proper handles, and none of the functions fail...
so what could be the problem?
thank you..
Cube
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|