Hello,
I'm trying to determine which list box item the cursor is over when my parent window receives a WM_CONTEXTMENU message (the right mouse button was clicked). Unfortunately, the list box is owner-drawn with variable heights for each item, so it's not as simple as getting the index of the top visible item and doing some division, the actual visible area needs to be determined.
Does anyone know how this could be done?



LinkBack URL
About LinkBacks


