Re: FXTreeList, tooltips, and SEL_QUERY_TIP
Jeroen van der Zijp <[email protected]> Sun, 11 Jun 2023 10:35:26 -0500
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Organization | FOX Toolkit |
| Message-ID | <20230611103526.569d1337@yellowstone> |
On Sat, 10 Jun 2023 21:49:05 -0700 Devin Smith <[email protected]> wrote: > Hi, > > I have a FXTreeList with a few items but it seems like SEL_QUERY_TIP > never fires. I'm actually not sure how it's supposed to execute? As a > result, no tool tip appears for each FXTreeItem in the list. > > Using tracelevel and/or debugging the issue I can see > FXTreeList::onTipTimer firing and that sets the FLAG_TIP but > onQueryTip never gets invoked. > > Is there some flag I need to specify to get tool tips enabled? It > looks like I should get them by default but that doesn't seem to be > working. > > I add items to the FXTreeList using FXTreeList::appendItem. > > Thanks, The tooltip is suppressed when you click on the widget, so it won't get in the way of you interacting with the widget. The tip timer is reset when the cursor moves into the widget, or when there's a mouse movement while inside the widget, and there was no interaction (no scrolling or dragging). If you think there must be another reason that the tip doesn't show, we need to collect more information on the problem. -- JVZ