Windows Programming

281. Which two kinds of Dialog are:

  1. Modal
  2. Modeless
  3. Both a and b
  4. None of these

Correct answer: (C)
Both a and b

282. Which keyword is used to store Icons in resource files:

  1. ICON
  2. iconfile.ico
  3. Icon design
  4. None of these

Correct answer: (A)
ICON

283. A 16*16 size Icon support ___________ colors:

  1. 16
  2. 256
  3. 512
  4. 65536

Correct answer: (A)
16

284. Which function is provided by win32API for loading icons, bitmaps and cursors:

  1. Load Icon
  2. Load Bitmaps
  3. Load Image
  4. Load Cursor

Correct answer: (C)
Load Image

285. In which toolbar Lines, curves, rectangle, text, ellipse tools are available:

  1. Drawing toolbar
  2. Graphics toolbar
  3. Formatting toolbar
  4. None of these

Correct answer: (B)
Graphics toolbar

286. What is the size of Large Icon:

  1. 16*16
  2. 32*32
  3. 64*64
  4. 128*128

Correct answer: (B)
32*32

287. Which function returns the number of characters that are actually written into the string:

  1. LoadString
  2. UpdateString
  3. RemoveString
  4. CreateString

Correct answer: (A)
LoadString

288. Keyboard Accelerators are processed by calling ___________ function:

  1. TranslateAccelerator()
  2. PreTranslateAccelerator()
  3. Translate()
  4. None of these

Correct answer: (A)
TranslateAccelerator()

289. Windows message is related to:

  1. WM_CONTEXTMENU
  2. WM_COMMANDLINE
  3. WM_COMMAND
  4. None of these

Correct answer: (A)
WM_CONTEXTMENU

290. The ultimate ancestor for all classes in the .Net framework and the equivalent of the C# object class. Part of the system namespace is called:

  1. MarshalByRefObject
  2. Component
  3. Object
  4. Menu

Correct answer: (C)
Object

Page 29 of 50