This might come very easy for experienced programmers but i've recently switched from Delphi to Visual Studio and it really bugs me (or i'm not trying too hard).
Whenever I use an API function that returns a window handle it returns a type CWnd but every function that receives a handle as an argument asks for HWND. How should I transform CWnd to HWND and the other way around. I didn't have these kind of problems in Delphi.
Please dignify this with an answer.
Whenever I use an API function that returns a window handle it returns a type CWnd but every function that receives a handle as an argument asks for HWND. How should I transform CWnd to HWND and the other way around. I didn't have these kind of problems in Delphi.
Please dignify this with an answer.