PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Haakon Birkeland on September 28, 2006, 10:30:13 PM

Title: Popmenu problem
Post by: Haakon Birkeland on September 28, 2006, 10:30:13 PM
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
Title: Popmenu problem
Post by: Jose Roca on September 28, 2006, 11:15:51 PM
Activate the popup menu when you will receive the %NM_CLICK message for the ListView in %WM_NOTIFY.
Title: Popmenu problem
Post by: Haakon Birkeland on September 29, 2006, 12:12:26 AM
Thanx

worked like a charm

Bert