Which of the following event should you handle so that you can highlight the available

You are busy to develop a Microsoft Windows Forms application that allows the computer engineers
to design circuit boards for different types of hardware. You then create a custom control that portrays the design surface.
Which of the following event should you handle so that you can highlight the available areas on the design surface where a component can be dropped?

You are busy to develop a Microsoft Windows Forms application that allows the computer engineers
to design circuit boards for different types of hardware. You then create a custom control that portrays the design surface.
Which of the following event should you handle so that you can highlight the available areas on the design surface where a component can be dropped?

A.
DragEnter

B.
QueryContinueDrag

C.
GiveFeedback

D.
DragOver

Explanation:
The DragOver event will be raised if the mouse pointer will move over a control during a drag-and-drop action.,

Incorrect Answers:
A: The DragEnter event will raise only if the mouse pointer enters a control during a drag-and-drop action.
B: The QueryContinueDrag event is raise when the mouse or keyboard button state changes.
C: The GiveFeedback event is raised when a drag-and-drop action is started.



Leave a Reply 0

Your email address will not be published. Required fields are marked *