How to print HWND value to MessageBox in visual c++?
Update:
I tried to print the handle ID to a messagebox, but instead it appears with Chinese characters. Here's the code I'm working on ..
char szBuff[64];
sprintf(szBuff, "%p", m_hWnd);
MessageBox(NULL, LPCWSTR(szBuff), L"Test print handler", MB_OK);