Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFeature request - Limit the Editor Window size in Visual Studio NET Pin
van12-Nov-04 6:27
van12-Nov-04 6:27 
GeneralRe: Feature request - Limit the Editor Window size in Visual Studio NET Pin
BlackDice2-Nov-04 6:40
BlackDice2-Nov-04 6:40 
GeneralRe: Feature request - Limit the Editor Window size in Visual Studio NET Pin
Henry miller2-Nov-04 8:00
Henry miller2-Nov-04 8:00 
QuestionHow to define an array of the object in class ( with code ) Pin
Cramp2-Nov-04 6:19
Cramp2-Nov-04 6:19 
AnswerRe: How to define an array of the object in class ( with code ) Pin
Joaquín M López Muñoz2-Nov-04 6:50
Joaquín M López Muñoz2-Nov-04 6:50 
GeneralRe: How to define an array of the object in class ( with code ) Pin
Cramp2-Nov-04 7:57
Cramp2-Nov-04 7:57 
GeneralBinary Image formation Pin
Jaso_O2-Nov-04 5:52
Jaso_O2-Nov-04 5:52 
GeneralRe: Not easy Pin
Budric B.2-Nov-04 6:50
Budric B.2-Nov-04 6:50 
This will taken more than a few lines.
First you'll need an interface, define how to open images, how to display them etc. The MFC Doc/View project created with the wizard will give you a skeleton where you can fill in the code for the opening/displaying. But you'll have to figure out how to use it.

To load the actual image into memory you will need a library that will decode the image from some format (jpeg, bitmap, gif etc) and give you the pixels. There are many libraries that do that. You can try
http://www.codeproject.com/bitmap/cximage.asp[^]
You can also see the demo code and modify it. The page also lists other libraries.

The conversion to binary image you'll probably have to do yourself. That should be easy once you have the pixels to the loaded image.
GeneralRe: Not easy Pin
Jaso_O2-Nov-04 8:13
Jaso_O2-Nov-04 8:13 
GeneralSDI Project - Tool Bar Question. Pin
jerry1211a2-Nov-04 4:36
jerry1211a2-Nov-04 4:36 
GeneralRe: SDI Project - Tool Bar Question. Pin
Jack Puppy2-Nov-04 14:45
Jack Puppy2-Nov-04 14:45 
Generaldatas between dialogs Pin
toxcct2-Nov-04 4:21
toxcct2-Nov-04 4:21 
GeneralRe: datas between dialogs Pin
valikac2-Nov-04 5:25
valikac2-Nov-04 5:25 
GeneralRe: datas between dialogs Pin
David Crow2-Nov-04 7:05
David Crow2-Nov-04 7:05 
GeneralRe: datas between dialogs Pin
toxcct18-Nov-04 23:30
toxcct18-Nov-04 23:30 
GeneralRe: datas between dialogs Pin
David Crow19-Nov-04 2:44
David Crow19-Nov-04 2:44 
GeneralShow methods at programming Pin
dancindoc2-Nov-04 3:13
dancindoc2-Nov-04 3:13 
GeneralRe: Show methods at programming Pin
David Crow2-Nov-04 3:32
David Crow2-Nov-04 3:32 
GeneralCBUTTON in MFC Pin
madretierra2-Nov-04 3:10
madretierra2-Nov-04 3:10 
GeneralRe: CBUTTON in MFC Pin
Cedric Moonen2-Nov-04 3:20
Cedric Moonen2-Nov-04 3:20 
GeneralRe: CBUTTON in MFC Pin
madretierra2-Nov-04 3:26
madretierra2-Nov-04 3:26 
GeneralRe: CBUTTON in MFC Pin
faroqtam2-Nov-04 11:41
faroqtam2-Nov-04 11:41 
GeneralRe: CBUTTON in MFC Pin
madretierra3-Nov-04 5:49
madretierra3-Nov-04 5:49 
GeneralRe: Use Clipboard in MFC Application Pin
David Crow2-Nov-04 2:22
David Crow2-Nov-04 2:22 
GeneralRe: Use Clipboard in MFC Application Pin
sweep1232-Nov-04 4:12
sweep1232-Nov-04 4:12 

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.