IonicWind Software

IWBasic => General Questions => Topic started by: Andy on September 16, 2017, 11:36:48 PM

Title: Detecting single click on a treeview
Post by: Andy on September 16, 2017, 11:36:48 PM
How do you detect a single click on a tree view control?

Double click is easy:

Case MyTreeView
        IF @NOTIFYCODE = @NMDBLCLK

        ENDIF

But can't get the single click.


Title: Re: Detecting single click on a treeview
Post by: LarryMc on September 17, 2017, 12:03:35 AM
CONST NM_FIRST = 0
CONST NM_CLICK = (NM_FIRST-2)

Case MyTreeView
        IF @NOTIFYCODE = NM_CLICK

        ENDIF
Title: Re: Detecting single click on a treeview
Post by: Andy on September 17, 2017, 12:20:01 AM
Thanks Larry,

It's so good to have the site back!
Title: Re: Detecting single click on a treeview
Post by: LarryMc on September 17, 2017, 12:34:06 AM
yeah, after coming here almost every day(and numerous times most days) for 12 years it has pretty much a daily part of my life