407 Master Cheater
Reputation: 0
Joined: 25 Oct 2007 Posts: 357
|
Posted: Sun Aug 05, 2012 7:31 pm Post subject: [Question] C++, Why use hwnd? |
|
|
Hi,
I'm trying to understand Windows API, and I'm wondering what hWnd does, and how it is different from a regular variable.
In this guide I'm reading, the author writes
| Code: | HWND hWnd = FindWindow(0, "notepad");
if(hWnd == 0)
cout << "error, could not find notepad" << endl;
|
Is there anything I should know about hWnd, or should I just understand that some functions return hWnd type?
|
|