http://www.codeproject.com/bitmap/bmpscroll.asp?df=100&Forumid=13476&fr=26#xx473579xx
The above is the stuff I tested today.
Added the section of the file dialog box:
Char Szfilter [] = "BMP file | * .BMP | all files | *. * ||"; static int nindex = 1; Bool BloadFromFile = true; cfiledialog filedlg (true, null, null, OFN_HIDEREADONLY, SZFILTER); Filedlg. M_ofn.nfilterIndex = (dword) Nindex; if (DLGFile.Domodal () == idok) {cstring szpathname = DLGFILE.GETPATHNAME (); szpathname.makeupper ();
........................}
PUBLIC: CRECT RectStaticClient; CSIZE M_SIZE; CPOINT M_PT;
But I finally didn't show a picture :-(