Click here to Skip to main content
15,921,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: regarding FileDialog Pin
happy_ram25-Jun-06 23:27
happy_ram25-Jun-06 23:27 
GeneralRe: regarding FileDialog Pin
kakan25-Jun-06 23:45
professionalkakan25-Jun-06 23:45 
GeneralRe: regarding FileDialog Pin
happy_ram26-Jun-06 0:48
happy_ram26-Jun-06 0:48 
QuestionRe: regarding FileDialog Pin
Hamid_RT25-Jun-06 22:37
Hamid_RT25-Jun-06 22:37 
AnswerRe: regarding FileDialog Pin
Viorel.25-Jun-06 21:37
Viorel.25-Jun-06 21:37 
GeneralRe: regarding FileDialog Pin
happy_ram25-Jun-06 21:47
happy_ram25-Jun-06 21:47 
QuestionHow to save bitmap in Black/White Pin
Praveenkumar T.G25-Jun-06 21:07
Praveenkumar T.G25-Jun-06 21:07 
AnswerRe: How to save bitmap in Black/White Pin
Sarath C25-Jun-06 23:21
Sarath C25-Jun-06 23:21 
Dear Praveen,
You can convert the bitmap to black & white ( hope you are not inteneded gray scale) using StretchBlt function.
Another way to accomplish the same thing is to SetDIBits. But the first method will be easier.

Check here: Scaling an Image from MSDN[^]

A bitmap can be stored by filling bitmap file header structure and save it using file stream. Just google it, you will get more information

Here is an article from MSDN to store bitmap.[^]

HTH



SaRath.

"Do Next Thing..."
My Blog | Understanding State Pattern in C++

Questionneed help...decimal digits.. Pin
thathvamsi25-Jun-06 20:57
thathvamsi25-Jun-06 20:57 
AnswerRe: need help...decimal digits.. Pin
thathvamsi25-Jun-06 21:56
thathvamsi25-Jun-06 21:56 
GeneralRe: need help...decimal digits.. Pin
Naveen25-Jun-06 22:14
Naveen25-Jun-06 22:14 
GeneralRe: need help...decimal digits.. Pin
thathvamsi25-Jun-06 22:31
thathvamsi25-Jun-06 22:31 
GeneralRe: need help...decimal digits.. Pin
Naveen25-Jun-06 22:55
Naveen25-Jun-06 22:55 
GeneralRe: need help...decimal digits.. Pin
thathvamsi25-Jun-06 23:12
thathvamsi25-Jun-06 23:12 
GeneralRe: need help...decimal digits.. Pin
Naveen25-Jun-06 23:37
Naveen25-Jun-06 23:37 
GeneralRe: need help...decimal digits.. Pin
thathvamsi26-Jun-06 17:00
thathvamsi26-Jun-06 17:00 
GeneralRe: need help...decimal digits.. Pin
Naveen26-Jun-06 17:28
Naveen26-Jun-06 17:28 
QuestionCString Pin
namaskaaram25-Jun-06 20:10
namaskaaram25-Jun-06 20:10 
AnswerRe: CString Pin
toxcct25-Jun-06 21:32
toxcct25-Jun-06 21:32 
GeneralRe: CString Pin
Naveen25-Jun-06 21:57
Naveen25-Jun-06 21:57 
GeneralRe: CString Pin
toxcct25-Jun-06 21:59
toxcct25-Jun-06 21:59 
GeneralRe: CString Pin
Naveen25-Jun-06 22:06
Naveen25-Jun-06 22:06 
GeneralRe: CString Pin
toxcct25-Jun-06 22:24
toxcct25-Jun-06 22:24 
GeneralRe: CString Pin
namaskaaram25-Jun-06 22:41
namaskaaram25-Jun-06 22:41 
GeneralRe: CString Pin
namaskaaram25-Jun-06 22:45
namaskaaram25-Jun-06 22:45 

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.