Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Grid cell tool-tip tutorial Collapse All
Subject Author Date
Offer Har Dec 24, 2008 - 7:24 AM

Dear Support,

I see that there is a feature to add tooltips to cells, but I’m not sure how to use it (OnInitToolTip, OnGetToolTipText, OnGbwTooltip, OnAdvancedPopupMenuTipWndGet etc etc - not sure exactly who does what...)

Can you please add a tutorial how to implement and what features does it hold?

Thanks & happy holidays,


Technical Support Dec 24, 2008 - 1:34 PM

The grid cells can display tooltips and expand tips. Expand tips are displayed over grid cell and allow to see the grid cell completely. Tooltips are displayed near grid cell (like tooltips near toolbar buttons). Tooltips also allow to see text of grid cell completely. Both tooltips and expand tips are displayed for grid cells which have partially visible text. Both does not display anything additional. The expand tips are typically used for data cells. The tooltips are typically used for header cells. It’s not possible to use both tooltip and expand tip with one grid cell. The set of __EGBS_EX_CELL_TOOLTIPS*** and __EGBS_EX_CELL_EXPANDING*** styles can be applied to the grid control using the grid’s SiwModifyStyle() method for turning on tooltips and/or expand tips for grid cells in different areas of the grid control. The expand tips and appropriate styles have higher priority.

The method in your question are related to tooltips. They are invoked automatically and display text of the grid cell which does not display its text completely. We guess you should not be interested in overriding these methods. So, please explain us details about your task.