Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 General Discussion » In CExtGridWnd, I wanted to display TOOLTIPS. Collapse All
Subject Author Date
tarou iiyama Apr 11, 2005 - 2:55 AM

Hi


  In CExtGridWnd, I wanted to display TOOLTIPS.
It is not displayed even if I use __EGBS_EX_CELL_TOOLTIPS_OUTER.


  However, TOOLTIPS is displayed when I use __EGBS_EX_CELL_EXPANDING_INNER.


  SiwModifyStyleEx(
      __EGBS_EX_CELL_EXPANDING_INNER
         ,
        0,
        false
        );


   I cannot understand.  


????



 

Technical Support Apr 11, 2005 - 9:02 AM

Both tooltips and expand windows are displayed for the grid cells whose text is not entirely displayed. Here are descriptions of the grid control styles relating to the tooltips and expand windows:
__EGBS_EX_CELL_TOOLTIPS_OUTER displays tooltips over header cells
__EGBS_EX_CELL_TOOLTIPS_INNER displays tooltips over data cells
__EGBS_EX_CELL_EXPANDING_OUTER expands the content of header cells
__EGBS_EX_CELL_EXPANDING_INNER expands the content of data cells

The tooltip window is displayed next to the mouse pointer. The content expand window is displayed exactly over the grid cell. The expand window is not based on the tooltip control. It is a window that is written from scratch especially for using with the grid control. Please do not forget that both windows appear over the cell whose content does not fit the text area of the cell.

We recommend you use tooltips over header cells and the expand window for data cells. This means you should specify __EGBS_EX_CELL_TOOLTIPS_OUTER and __EGBS_EX_CELL_EXPANDING_INNER.