|
From: Vlada D. <dj...@im...> - 2002-12-13 10:43:35
|
Hi. Here's the deal: I want to turn window ID number (#define ID_WND 100) to handle to that window, so I can use it in SendMessage function. I tried to use MAKEINTRESOURCE macro (HWND hwnd=(HWND)MAKEINTRESOURCE(ID_WND), but it doesn't work as I expected. I read that return value of it is type LPTSTR. Can that be cast as HWND? If not, is there some other way to do this? Regards, Vlada |