J
Jana
Hello,
I have the following problem. I should like to copy my bitmap test.bmp
into windows clipboard.
I have already a little frame:
const CWnd *pWnd;
CBitmap bitmap;
::OpenClipboard(pWnd->GetSafeHwnd());
::EmptyClipboard() ;
::SetClipboardData (CF_BITMAP, bitmap.GetSafeHandle() ) ;
::CloseClipboard () ;
bitmap.Detach();
But I don't know how to initialise pWnd and pass my .bmp file?
Can someone help me?
Best regards
Jana
I have the following problem. I should like to copy my bitmap test.bmp
into windows clipboard.
I have already a little frame:
const CWnd *pWnd;
CBitmap bitmap;
::OpenClipboard(pWnd->GetSafeHwnd());
::EmptyClipboard() ;
::SetClipboardData (CF_BITMAP, bitmap.GetSafeHandle() ) ;
::CloseClipboard () ;
bitmap.Detach();
But I don't know how to initialise pWnd and pass my .bmp file?
Can someone help me?
Best regards
Jana