19)how to set Back Ground Picture to a Dialog Box in MFC ?



19)how to set Back Ground Picture to a Dialog Box in MFC ?..

Answer / 106743013743

Use SetBackGroundPicture()

Ex: in OnInitDialog(),

SetBackgroundImage(IDB_CITY);

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More MFC Interview Questions

1) Enable or disable a Cancel button at run time?

1 Answers   HCL,


What is userdefine Messages in MFC?

1 Answers   HCL,


I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS)

2 Answers   Invensys,


how do u identify RTTI in vc++

4 Answers   Siemens,


What is the difference between the SDI and MDI

3 Answers   Invensys,


What is the use of OninitDialog ?

11 Answers   HCL, Nagarro,


How can i change the color of a dropdowncombobox elements

2 Answers  


Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer

7 Answers   HP,


1)set the Title for The File DialogBox, in MFC?

1 Answers  


How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it

8 Answers  


what is the use of AFX_MANAGE_STATE ?

4 Answers   HCL,


what is the use of Mutex and critical section

2 Answers  


Categories