Click here to Skip to main content
15,890,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldir work CDatabase and CFileDialog Pin
Pasquale829-Jun-05 9:17
Pasquale829-Jun-05 9:17 
GeneralRe: dir work CDatabase and CFileDialog Pin
Tom Archer9-Jun-05 16:15
Tom Archer9-Jun-05 16:15 
GeneralMaking a C++ DLL to be used form VB - Static Question Pin
CimTaurus9-Jun-05 9:15
CimTaurus9-Jun-05 9:15 
GeneralRe: Making a C++ DLL to be used form VB - Static Question Pin
Chris Losinger9-Jun-05 9:47
professionalChris Losinger9-Jun-05 9:47 
GeneralCDO/MAPI sending problem Pin
vineas9-Jun-05 8:43
vineas9-Jun-05 8:43 
Generalloading a bitmap from file Pin
bkphat9-Jun-05 8:37
bkphat9-Jun-05 8:37 
GeneralRe: loading a bitmap from file Pin
Dominik Reichl9-Jun-05 8:48
Dominik Reichl9-Jun-05 8:48 
GeneralRe: loading a bitmap from file Pin
Budric B.9-Jun-05 8:51
Budric B.9-Jun-05 8:51 
A. You can go to Resource Editor and add bitmap to your resources. Add static picture control to your dialog, make it type bitmap and set the ID of the bitmap you loaded as resource for this control. This is done before you compile.

B. Use an imaging library. I like FreeImage. There are others: CxImage, DevIL etc etc. So loading a bitmap depends on the library you use. There's some code
http://freeimage.sourceforge.net/developers.html#faq. Once you load the image, override the class for the user control you're using and implement OnPaint() function to draw the bitmap you loaded.

This should get you started.
Questionhow to count print outs Pin
Ajay Nikam9-Jun-05 8:14
Ajay Nikam9-Jun-05 8:14 
GeneralGet the path to MS Office Pin
Nitron9-Jun-05 8:12
Nitron9-Jun-05 8:12 
GeneralRe: Get the path to MS Office Pin
Kappy9-Jun-05 10:49
Kappy9-Jun-05 10:49 
GeneralRe: Get the path to MS Office Pin
Tom Archer9-Jun-05 16:18
Tom Archer9-Jun-05 16:18 
GeneralRe: Get the path to MS Office Pin
Nitron10-Jun-05 2:42
Nitron10-Jun-05 2:42 
GeneralMenu in child window Pin
PJ Arends9-Jun-05 7:02
professionalPJ Arends9-Jun-05 7:02 
GeneralRe: Menu in child window Pin
James R. Twine9-Jun-05 7:22
James R. Twine9-Jun-05 7:22 
GeneralRe: Menu in child window Pin
PJ Arends9-Jun-05 17:56
professionalPJ Arends9-Jun-05 17:56 
QuestionHow to Create A Shared Folder Pin
f29-Jun-05 6:41
f29-Jun-05 6:41 
GeneralailFreeing memory Pin
laiju9-Jun-05 4:57
laiju9-Jun-05 4:57 
GeneralRe: ailFreeing memory Pin
Cedric Moonen9-Jun-05 5:05
Cedric Moonen9-Jun-05 5:05 
GeneralRe: ailFreeing memory Pin
Budric B.9-Jun-05 5:13
Budric B.9-Jun-05 5:13 
GeneralRead a line from a text file Pin
bkphat9-Jun-05 4:34
bkphat9-Jun-05 4:34 
GeneralRe: Read a line from a text file Pin
toxcct9-Jun-05 5:18
toxcct9-Jun-05 5:18 
GeneralRe: Read a line from a text file Pin
James R. Twine9-Jun-05 5:49
James R. Twine9-Jun-05 5:49 
GeneralChanging the font of a control ( CStatic ) Pin
Maximilien9-Jun-05 4:34
Maximilien9-Jun-05 4:34 
GeneralRe: Changing the font of a control ( CStatic ) Pin
James R. Twine9-Jun-05 4:42
James R. Twine9-Jun-05 4:42 

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.