My problem is I have to call a create function
..Create(IDD_??, CWnd* parrentWnd)
I want the parrent window to be the desktop window, I want to get the dektop window caling this function: GetDesktopWindow()
But can't do like this:
Create(IDD.., GetDesktopWindow()) Because HWND is not *CWnd
Can I solve this problem, how can I convert HWND to *CWnd ?
Shoud I create a
and attach the HWND to it ?
It's just a guess