Listview LVN_ITEMCHANGED

Started by Haakon Birkeland, January 25, 2007, 01:04:37 AM

Previous topic - Next topic

Haakon Birkeland

I use this event to update a couple of textboxes , when I click to highlite an item in the list view.
The problem is the texboxes seem to always one step behind. The row that is hilighted is not reflected in the values of the textboxes I have to click twice on the same row for the  textboxes to reflect the change.
When I use the arrow keys to move the selected bar the textboxes are updated properly.

Any idea what I should be doing to get it right

Bert
Haakon 8o)

Haakon Birkeland

Forget it.
I found the answer from Paul to intercept the mouse click in the form CUSTOM message. Now it works great.

hanx
bert
Haakon 8o)