|
-
January 13th, 2012, 01:59 PM
#1
Setting an external application Window
Hey guys,
I know how to do this in non .NET C++ but I need to import a library which isn't available in the express version in order to use HWND.
Is there another method of setting an external applications window title?
E.g. from "Untitled - Notepad" to "Notepad55" or something else.
Here is the code for non .NET:
HWND notepad = FindWindow(NULL, "Untitled - Notepad");
if(notepad)
SendMessage(notepad,WM_SETTEXT,0,(LPARAM)"Message Recieved");
else
MessageBox(0,"Notepad isn't open.","Report",MB_OK);
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
|