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 » Displaying a watermark in CExtGridWnd background Collapse All
Subject Author Date
Daniel Verret Feb 3, 2010 - 12:46 PM

Is there a way to display a watermark in the CExtGridWnd background ?


...same thing for CExtShortCutListWnd and CExtTreeCtrl


 


Thank you.

Technical Support Feb 4, 2010 - 5:56 AM

You can override the CExtScrollItemWnd::OnSiwPaintBackground() virtual method and repaint the background of Prof-UIS grid control. But you can also override the CExtGridBaseWnd::OnGbwEraseArea() virtual method if you need different watermarks on different grid areas.
The CExtShortcutListWnd::OnShortcutListEraseEntire() should be overridden for painting custom background of shortcut list control.
The CExtTreeCtrl::OnPaintTreeItemBackground() should be overridden for painting custom background of extended tree control.