Convert HWND to LPWSTR?

255 Views Asked by At

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++?

0

There are 0 best solutions below