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

C / C++ / MFC

 
GeneralOdd behavoir of ::EnumChildWindows Pin
Abin5-Apr-03 14:18
Abin5-Apr-03 14:18 
GeneralRe: Odd behavoir of ::EnumChildWindows Pin
Nish Nishant5-Apr-03 14:30
sitebuilderNish Nishant5-Apr-03 14:30 
GeneralRe: Odd behavoir of ::EnumChildWindows Pin
PJ Arends6-Apr-03 4:40
professionalPJ Arends6-Apr-03 4:40 
GeneralOK, I found out the reason. Pin
Abin6-Apr-03 13:31
Abin6-Apr-03 13:31 
QuestionHow can I load a picture (jpg or bmp) into Picture Property with VC++? Pin
ATC5-Apr-03 14:05
ATC5-Apr-03 14:05 
AnswerRe: How can I load a picture (jpg or bmp) into Picture Property with VC++? Pin
Heiko20036-Apr-03 3:22
sussHeiko20036-Apr-03 3:22 
GeneralRe: How can I load a picture (jpg or bmp) into Picture Property with VC++? Pin
ATC6-Apr-03 5:14
ATC6-Apr-03 5:14 
GeneralRe: How can I load a picture (jpg or bmp) into Picture Property with VC++? Pin
Heiko20036-Apr-03 7:45
sussHeiko20036-Apr-03 7:45 
Ok, I will try

Click Insert->Ressource

Click on Bitmap then the Button Import
Browse to you disired file (Mypicture.bmp) (if you could not see the file in the directory don't forget to chose all files (*.*) )

Now you have added a Bitmap Ressource from a file.

now you can use the methode i've copied

call it in the Dialogmethod OnPaint. You can add the OnPaint method with the aid of the classwizard. (The Message who calls this method is WM_PAINT)

I hope now that i could help you
otherwise ask again
Heiko

GeneralRe: How can I load a picture (jpg or bmp) into Picture Property with VC++? Pin
ATC20-Apr-03 15:45
ATC20-Apr-03 15:45 
Generalinternet explorer events Pin
mweiss5-Apr-03 12:43
mweiss5-Apr-03 12:43 
GeneralRe: internet explorer events Pin
Philip Patrick6-Apr-03 1:46
professionalPhilip Patrick6-Apr-03 1:46 
GeneralString Class Operations Pin
Aidman5-Apr-03 12:31
Aidman5-Apr-03 12:31 
GeneralRe: String Class Operations Pin
Nish Nishant5-Apr-03 12:36
sitebuilderNish Nishant5-Apr-03 12:36 
GeneralRe: String Class Operations Pin
Aidman5-Apr-03 12:40
Aidman5-Apr-03 12:40 
GeneralRe: String Class Operations Pin
Nish Nishant5-Apr-03 14:28
sitebuilderNish Nishant5-Apr-03 14:28 
GeneralRe: String Class Operations Pin
Michael Dunn5-Apr-03 15:45
sitebuilderMichael Dunn5-Apr-03 15:45 
GeneralRe: String Class Operations Pin
Aidman5-Apr-03 18:49
Aidman5-Apr-03 18:49 
GeneralRe: String Class Operations Pin
Michael Dunn5-Apr-03 19:03
sitebuilderMichael Dunn5-Apr-03 19:03 
GeneralRe: String Class Operations Pin
Aidman5-Apr-03 19:08
Aidman5-Apr-03 19:08 
GeneralRe: String Class Operations Pin
Nish Nishant5-Apr-03 22:17
sitebuilderNish Nishant5-Apr-03 22:17 
GeneralRe: String Class Operations Pin
Aidman6-Apr-03 5:39
Aidman6-Apr-03 5:39 
GeneralButtons vertical alignment in Toolbar Pin
jym5-Apr-03 9:16
jym5-Apr-03 9:16 
GeneralVC++ BG Color Pin
Makover5-Apr-03 8:22
Makover5-Apr-03 8:22 
GeneralRe: VC++ BG Color Pin
Nish Nishant5-Apr-03 9:23
sitebuilderNish Nishant5-Apr-03 9:23 
GeneralRe: VC++ BG Color Pin
Ravi Bhavnani5-Apr-03 10:54
professionalRavi Bhavnani5-Apr-03 10:54 

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.