Hi, Everyone,
is there a way to find out when a popup menu disappears? I don't mean when
an item on it has been selected but when the user presses ESC or clicks
anywhere else in Windows. I'd need to know because I have a component which
visually selects some text on itself (before the menu appears) to which the
popup menu's contents refer to, and that selection should be undone when the
menu disappears, for whatever reason. I use a TPopupMenu component, which
provides a window handle but I couldn't make much of it. Please write if you
have some ideas. Thanks,
András