Reputation: 182
I have the following code:
MessageBox(NULL, NULL, (LPCWSTR)FindWindow(NULL, L"Untitled - Notepad"), MB_OK);
How can i make the messagebox's title be the Window Handle to notepad? Is there any effiecient and simple way to do this using c++?
Upvotes: 0
Views: 245