Windows Programming MCQ - Windows Programming

11:  

The first thing that is required in order to create an application is to declare a variable of 

A.

WNDCLASSEX type

B.

WNDCLASS type

C.

both WNDCLASS and WNDCLASSEX type

D.

either WNDCLASS or WNDCLASSEX type

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



12:  
Window class, onEraseBackground /1, defines 
A.
is executed when a visible window is being created
B.
 is executed when a window is being closed, it is possible to prevent the window from closing
C.
when the background of a wiridow must be erased this event is executed
D.

when a window must be re-painted this event is executed

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here:



13:  

The most essential and basic header files that windows programming support:

A.

 windef.h

B.

 winnt.h

C.

 winbase.h

D.

All of these

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



14:  

To specify the size of window which of the following syntax  is used  

A.

sizeof(WNDCLASSEX) ; 

B.

sizeof(WNDCLASS) ; 

C.

Both (a) & (b) ; 

D.

None of these

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



Related MCQ