Microsoft KB Archive/29961

{|
 * width="100%"|

INFO: Location of the Cursor in a List Box

 * }

Q29961

-

The information in this article applies to:


 * Microsoft Windows Software Development Kit (SDK)
 * Microsoft Win32 Software Development Kit (SDK)

-

SUMMARY
There is no way to determine which item in the list box has the cursor when the LBN_DBLCLK message is received. You must keep track of which item has the cursor as it moves among the items. When you receive the double-click message, you will know which box has the cursor.

Additional query words:

Keywords : kbCtrl kbListBox kbOSWinNT kbOSWin2000 kbSDKWin32 kbGrpDSUser kbOSWin

Issue type : kbinfo

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch kbWinSDKSearch