you realize scrolling picture,looks it is ok,but make things complex.the H scrollbar and V scrollbar are a part of the CWnd object.need not be recreated,only overide OnVScroll and OnHScroll can realize this feature.
this great but what if the file was in the clipboard and i want to use the LoadImage() to get it ino my application??
Posted by DvonD
on 03/26/2004 06:30am
// testen ob Bitmap in Clipboard liegt
if (!clipboardData->GetDataPresent(S"Bitmap", true))
Bitmap* clipboardBitmap = dynamic_cast
I am SO confused..... My child window has a Horizontal scroll bar but it doesn't work right.... If I scroll to the left the Window moves but the picture is blank. I am using ScrollWindow(-1,0,NULL,NULL); If I resize the window manually my bitmap image is displayed correctly..... HELP!