The information in this article applies to:
SYMPTOMSWhen the MultiSelect property of the ListView control is set to True, neither the MouseUp or Click event is generated when the ListView control itself is clicked. The only event generated in this case is the MouseDown event. This problem occurs only if the area clicked on does not contain a ListItem object. If a ListItem is clicked, all three events are fired as expected. RESOLUTIONThe fired MouseDown event can be used instead of the Click event to execute code when a user clicks the white space of a ListView control. If it is vital that some action be taken when the mouse button is released, one can manually trap the WM_LBUTTONUP message sent to the control using a message trapping OCX or tool. The Message Blaster OCX produced by WareWithAll is a good example of a control that provides this functionality. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Visual Basic 6.0. MORE INFORMATIONSteps to Reproduce
Additional query words: kbVBp400bug kbVBp500fix kbVBp600fix kbVBp kbdsd kbDSupport kbControl
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |