How to load Bitmap at Dialogbakground in an MFC application?
Answer / john k gummadi
In OnInitDialog:
-----------------
1. Create CBitmap from the bitmap.
2. Create a memory DC (CDC)
3. Put the CBitmap into the memory DC (Use
CDC::SelectObject function).
In OnPaint:
------------
4. Get your dialog DC (CDialog::GetDC)
5. Do BitBlt or StretchBlt on dialog DC with memory DC as
source DC (this will paint the bitmap on your dialog).
6. Release dialog DC (ReleaseDC function)
| Is This Answer Correct ? | 13 Yes | 0 No |
Hi All, i got through he h1b Lotreey in india. US staming in the consulate is pendding . i applied from india for H1b but currently i am in germany for 1 year .i wanted to know can i attend the interview in germany.
what are the design patterns of an MFC application
5 Answers Samsung, SunSoft Technologies,
what is the difference between MFC and Win32
5 Answers ArisGlobal, Microsoft,
What is GDI object?
What is an Hash Mapping in java?
Explain Win32 Program Execution flow?
write About send message and post message
to take three string inputs in a two dimensional array of 3 rows and 15 columns and write a function that prints them.
what is use of the createWindow object
what is the stack size in win 32 program
win 3.1 supports which type of multi tasking?
What is System call executable binary file into a process?