Click here to Skip to main content
15,896,514 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
David Crow19-Sep-07 3:24
David Crow19-Sep-07 3:24 
AnswerRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
GauranG Shah19-Sep-07 21:14
GauranG Shah19-Sep-07 21:14 
QuestionRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
David Crow20-Sep-07 2:27
David Crow20-Sep-07 2:27 
QuestionHow to convert *.tif to *.bmp? Pin
TooShy2Talk18-Sep-07 22:34
TooShy2Talk18-Sep-07 22:34 
AnswerRe: How to convert *.tif to *.bmp? Pin
KarstenK18-Sep-07 22:58
mveKarstenK18-Sep-07 22:58 
GeneralRe: How to convert *.tif to *.bmp? Pin
TooShy2Talk18-Sep-07 23:20
TooShy2Talk18-Sep-07 23:20 
GeneralRe: How to convert *.tif to *.bmp? Pin
KarstenK18-Sep-07 23:42
mveKarstenK18-Sep-07 23:42 
AnswerRe: How to convert *.tif to *.bmp? Pin
Mark Salsbery19-Sep-07 5:48
Mark Salsbery19-Sep-07 5:48 
Writing a robust TIFF file loader is a big project.

If you can use GDI+, it can save alot of work.

There's also the ATL CImage class, which uses GDI+ for loading and saving image files.
With CImage, you could do it in a few lines of code:
#include <atlimage.h>
...
    CImage image;
    image.Load(_T("C:\\TIFFFile.tif"));
    image.Save(_T("C:\\BMPFile.bmp"), Gdiplus::ImageFormatBMP);
Note that BMP files have a limited set of supported image formats.  See
the documentation for the BITMAPINFOHEADER struct for details.


Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

Questionreading simple excel sheet without using odbc Pin
neha.agarwal2718-Sep-07 21:58
neha.agarwal2718-Sep-07 21:58 
AnswerRe: reading simple excel sheet without using odbc Pin
KarstenK18-Sep-07 22:59
mveKarstenK18-Sep-07 22:59 
GeneralRe: reading simple excel sheet without using odbc Pin
neha.agarwal2718-Sep-07 23:09
neha.agarwal2718-Sep-07 23:09 
GeneralRe: reading simple excel sheet without using odbc Pin
KarstenK18-Sep-07 23:26
mveKarstenK18-Sep-07 23:26 
AnswerRe: reading simple excel sheet without using odbc Pin
Karismatic18-Sep-07 23:07
Karismatic18-Sep-07 23:07 
QuestionConvert char string to UTF-8 Pin
kcynic18-Sep-07 21:25
kcynic18-Sep-07 21:25 
AnswerRe: Convert char string to UTF-8 Pin
fefe.wyx18-Sep-07 23:13
fefe.wyx18-Sep-07 23:13 
GeneralRe: Convert char string to UTF-8 Pin
kcynic19-Sep-07 15:00
kcynic19-Sep-07 15:00 
AnswerRe: Convert char string to UTF-8 Pin
KarstenK18-Sep-07 23:46
mveKarstenK18-Sep-07 23:46 
QuestionCombo box Max Length Pin
danasegaranea18-Sep-07 21:02
danasegaranea18-Sep-07 21:02 
AnswerRe: Combo box Max Length Pin
nbugalia18-Sep-07 21:13
nbugalia18-Sep-07 21:13 
AnswerRe: Combo box Max Length Pin
Nelek18-Sep-07 21:13
protectorNelek18-Sep-07 21:13 
GeneralRe: Combo box Max Length Pin
danasegaranea19-Sep-07 0:03
danasegaranea19-Sep-07 0:03 
Questiondierect show Pin
amiya das18-Sep-07 20:37
amiya das18-Sep-07 20:37 
QuestionWindow questions Pin
Programm3r18-Sep-07 20:29
Programm3r18-Sep-07 20:29 
QuestionRe: Window questions Pin
Programm3r18-Sep-07 20:49
Programm3r18-Sep-07 20:49 
AnswerRe: Window questions Pin
toxcct18-Sep-07 23:43
toxcct18-Sep-07 23:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.