Print Page | Close Window

CXTPTabClientWnd Question

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4794
Printed Date: 11 November 2025 at 9:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTabClientWnd Question
Posted By: Simon HB9DRV
Subject: CXTPTabClientWnd Question
Date Posted: 14 August 2006 at 9:32am
Before using CXTPTabClientWnd (great software) I used a class of my own to draw a logo in the client area. I'm sure you've seen this a lot in CMainFrame, for example:

m_wndMDIClient.SubclassWindow(m_hWndMDIClient);

Then I can use my class to draw nice logos, tiled backgrounds, whatever.

Question

How can I draw in the client area of the tab control? Currently it's dark grey, customers want our logo and build information. (Hope this is enough information for you.)


-------------
Simon HB9DRV



Replies:
Posted By: Oleg
Date Posted: 14 August 2006 at 9:45am
Hi,
Override CXTPTabClientWnd and its
void CXTPTabClientWnd::OnFillBackground(CDC* pDC, CRect rc)


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Simon HB9DRV
Date Posted: 14 August 2006 at 9:50am
Many, many thanks!

-------------
Simon HB9DRV



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net