In VB you would use :D
In C++ you would use???????:confused:Code:SetPixel Me.hdc, 5, 5, vbBlack
Printable View
In VB you would use :D
In C++ you would use???????:confused:Code:SetPixel Me.hdc, 5, 5, vbBlack
I would also like to know this :)
if your asking because that gave you an error, remember you need the Semi-Colon at the end of everline
Code:int ProgramHwnd;
ProgramHwnd = CWnd.m_hWnd;
Shouldn't it be:
Code:HWND ProgramHwnd;
oh yeah,
I am just starting C++ so i dont know all the data types yet.... thanks for correcting me :)
Uh...Zej? Don't use CWnd.m_hWnd. You need to extract it from your CWnd-derived class...and as Megatron says, it's of type HWND.