Hello

I'm doing a application using MFC.

My problem is when I call OpenClipboard the program crashes because the member m_hWnd of class CWnd is not valid.

I tried gave a HWND handle for it , because you have direct access to that member, but dosen't work either, i gave the HWND of my child window, the crash stop but my child window closes.


Anyone knows something?

Thanks =)