|
-
October 6th, 2005, 10:00 PM
#1
Displaying image
How can i open and display the image(like jpg, tiff, bmp files) by opening through FileDialog;
-
October 6th, 2005, 11:37 PM
#2
Re: Displaying image
CString filename;
TCHAR szFilters[] = _T("bmp files (*.bmp)");
CFileDialog dlg(TRUE,_T("bmp"), _T("*.bmp"),OFN_FILEMUSTEXIST,szFilters);
if (dlg.DoModal () == IDOK)
{
filename = dlg.GetPathName ();
}
this code display only bmp files u can add to other files also into szFilters.
Don't forget to rate
Guna
-
October 7th, 2005, 01:56 AM
#3
Re: Displaying image
in order to display the image look here:
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|