I have a Win32 C++ (non-MFC) application which uses a TreeView control. The control is created with the TVS_DISABLEDRAGDROP style not set. My expectation was that in this case I would receive a TVN_BEGINDRAG notification and could handle the drag operation from that handler. (Moreover, this used to work -- it has been part of released product code for several years and worked fine until recently. At some point, something changed.)
Now, I never receive a TVN_BEGINDRAG message. I am able to use a tree item as the source of a drag, but to do so, I need to detect the drag inside my mouse-down handler, instead of in the TVN_BEGINDRAG handler.
Can anyone explain why this might be the case? Although I have a work around in place, I would like to understand why this work-around is necessary.
Thank you.
Rick Aurbach
Aurbach & Associate, Inc.