Popmenu problem

Started by Haakon Birkeland, September 28, 2006, 10:30:13 PM

Previous topic - Next topic

Haakon Birkeland

Hi there
I have a sequencing problem

I have set up a popup menu that fires when the left button is clicked in a listview control. The menu fires up ok but my problem is that the menu fires up before the row is selected so when I use FF_ListView_GetSelectedItem, I get the previous row that was selected instead of the one clicked on
Is there a way to have the listview fire up first before the menu appears?

thanx
bert
Haakon 8o)

Jose Roca

Activate the popup menu when you will receive the %NM_CLICK message for the ListView in %WM_NOTIFY.

Haakon Birkeland

Thanx

worked like a charm

Bert
Haakon 8o)