April 18, 2024, 10:00:23 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Detecting single click on a treeview

Started by Andy, September 16, 2017, 11:36:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

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.


Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

LarryMc

CONST NM_FIRST = 0
CONST NM_CLICK = (NM_FIRST-2)

Case MyTreeView
        IF @NOTIFYCODE = NM_CLICK

        ENDIF
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Andy

Thanks Larry,

It's so good to have the site back!
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

LarryMc

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
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library