Click here to Skip to main content
15,910,603 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question about void pointer and pointer to a function. Pin
George26-Apr-03 15:17
George26-Apr-03 15:17 
GeneralQuestion about static variable in multi threads environment. Pin
George25-Apr-03 19:02
George25-Apr-03 19:02 
GeneralRe: Question about static variable in multi threads environment. Pin
Michael Dunn5-Apr-03 19:09
sitebuilderMichael Dunn5-Apr-03 19:09 
GeneralRe: Question about static variable in multi threads environment. Pin
George25-Apr-03 19:17
George25-Apr-03 19:17 
GeneralRe: Question about static variable in multi threads environment. Pin
Anders Molin6-Apr-03 3:04
professionalAnders Molin6-Apr-03 3:04 
GeneralRe: Question about static variable in multi threads environment. Pin
George26-Apr-03 3:12
George26-Apr-03 3:12 
QuestionHow to get the data bits from Image class (GDI+) Pin
Tossporn5-Apr-03 18:40
Tossporn5-Apr-03 18:40 
AnswerRe: How to get the data bits from Image class (GDI+) Pin
J. Dunlap5-Apr-03 18:46
J. Dunlap5-Apr-03 18:46 
Generalhelp with DirectX Pin
Steven M Hunt5-Apr-03 16:50
Steven M Hunt5-Apr-03 16:50 
GeneralRe: help with DirectX Pin
Philip Patrick6-Apr-03 1:43
professionalPhilip Patrick6-Apr-03 1:43 
GeneralI Fixed It! Pin
Steven M Hunt6-Apr-03 11:21
Steven M Hunt6-Apr-03 11:21 
QuestionMaking a large bitmap fit in a CDialog or CFormView? Pin
DanYELL5-Apr-03 16:24
DanYELL5-Apr-03 16:24 
AnswerRe: Making a large bitmap fit in a CDialog or CFormView? Pin
Philip Patrick6-Apr-03 1:48
professionalPhilip Patrick6-Apr-03 1:48 
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 

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.