Basic Window-Programming Questions and Answers

Take Exam

Basic Window Programming Questions with Answers introduce students to fundamental Windows-based application development concepts. These include GUI design, event handling, and system-level programming techniques. Practicing these programming interview questions with answers enhances problem-solving abilities for placement tests at companies like TCS, Accenture, and Infosys. This section also helps candidates gain confidence in working with Windows APIs and C/C++ based environments.

Basic Window-Programming

Showing 10 of 42 questions

31. Window class, onCommand/2, defines

  • during the processing of a key this event is executed with the ASCII value of the key pressed
  • a menu command was selected
  • a menu item is selected
  • a window was resized
Show Answer Report

32. Window class, onMenuSelect/2, defines

  • during the processing of a key this event is executed with the ASCII value of the key pressed
  • a menu command was selected
  • a menu item is selected
  • a window was resized
Show Answer Report

33. Window class, onSize/2, defines

  • during the processig of a key this event is executed with the ASCII value of the key pressed
  • a menu command was selected
  • a menu item is resized
  • a window was resized
Show Answer Report

34. Window class, onMovie/2, defines

  • a window is moved to new position
  • the user wants to view a floating popup menu for the window
  • an event from the vertical scrollbar of the window
  • an event from the horizontal scrollbar of the window
Show Answer Report

35. Window class, oninitPopupMenu/2, defines

  • a window is moved to a new position
  • the user wants to view a floating popup menu for the window
  • an event from the vertical scrollbar of the window
  • an event from the horizontal scrollbar of the window
Show Answer Report

36. Window class, on VScrollbar/3, defines

  • a window is moved to a new position
  • the user wants to view a floating popup menu for the window
  • an event from the vertical scrollbar of the window
  • an event from the horizontal scrollbar of the window
Show Answer Report

37. Window class, oHScroll/3, defines

  • a window is moved to a new position
  • the user wants to view a floating popup menu for the window
  • an event from the vertical scrollbar of the window
  • an event from the horizontal scrollbar of the window
Show Answer Report

38. SizerClient in window programming ?

  • this type of sizer ensures that a panel window fills the complete client rectangle of a frame window
  • this sizer class makes a panel 'stick' to one side of a frame window and the size of the panel window is a fixed number of pixels.
  • thi sizer ensures that a panel window is percentage of the size of a frame window.
  • None of these
Show Answer Report

39. SizerFixed in window programming

  • this type of sizer ensures that a panel window fills the complete client rectangle of a frame window
  • this sizer of a f rame window and the size of the panel window is fixed number of pixels
  • this sizer ensures that a panel window is percentage of the size of a frame window.
  • None of these
Show Answer Report

40. SizePercent in window programming

  • this type of sizer ensures that a panel window fills the complete client rectangle of a frame window
  • this size class makes a panel 'stick' to one side of a frame window and the size of the panel window is a fixed number of pixel
  • this sizer ensures that a panel window is percentage of the size of a frame window.
  • None of these
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test