Windows Programming

331. What the function return if the problem occurs while selecting the font:

  1. TRUE
  2. FALSE
  3. NULL
  4. All of these

Correct answer: (C)
NULL

332. How many types of font:

  1. Three
  2. Five
  3. Seven
  4. Two

Correct answer: (D)
Two

333. The type of font that refers to the independent device is known as:

  1. TrueType
  2. FalseType
  3. Both a and b
  4. None of these

Correct answer: (A)
TrueType

334. Which function is used to create the font:

  1. CFont::DeleteFont()
  2. CFont::SelectFont()
  3. CFont::CreateFont()
  4. None of these

Correct answer: (C)
CFont::CreateFont()

335. Which control can be used to display text, drawing or picture:

  1. Static
  2. Edit
  3. Rich Edit
  4. Progress

Correct answer: (A)
Static

336. Which is the parent class of CButton:

  1. CWin
  2. CWnd
  3. Both a and b
  4. None of these

Correct answer: (B)
CWnd

337. Which class name is used to create a child window frame for an MDI application:

  1. MDICLIENT
  2. MDISERVER
  3. Both a and b
  4. None of these

Correct answer: (A)
MDICLIENT

338. Which button is used to display the grids:

  1. Toggle Grid Button
  2. Toggle Guides Button
  3. Both a and b
  4. None of these

Correct answer: (A)
Toggle Grid Button

339. Which button is used to hide the grid:

  1. Toggle Grid Button
  2. Toggle Guides Button
  3. Both a and b
  4. None of these

Correct answer: (B)
Toggle Guides Button

340. Which function is used to return the value for a rectangle:

  1. GetWindowRect()
  2. GetClientRect()
  3. GetServerRect()
  4. None of these

Correct answer: (A)
GetWindowRect()

Page 34 of 50