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 Tech Support » CReportGridWnd and ToolTips Collapse All
Subject Author Date
Adam Keadey Apr 9, 2007 - 3:15 PM

I want to modify the text and background color of my tooltip when hovering over a cell that is partially hidden.

Technical Support Apr 10, 2007 - 10:00 AM

The background color of the cell’s content popup window is specified by the COLOR_INFOBK color. The text is painted in the CExtGridCell::OnPaintText() method, so the text color is the same as the color of the cell text. All the painting procedures are invoked from the CExtGridCell::OnPaintExpandedContent() virtual method when the client area of the content expand window is being painted. So you can override this method and modify the painting as you need.