Print Page | Close Window

how to use CXTPTabControl in fomrview

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=3249
Printed Date: 09 November 2025 at 1:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to use CXTPTabControl in fomrview
Posted By: aqura
Subject: how to use CXTPTabControl in fomrview
Date Posted: 19 November 2005 at 4:22am

I create a CXTPTabControl in formview, all things good except the clistctrl. If i put a listctrl in the child page of tabcontrol, the listctrl will become gray when i switch to other application window and switch back.

my XT is 9.601

anyone can help me?




Replies:
Posted By: Oleg
Date Posted: 19 November 2005 at 10:30am

guess Problem with Clipping styles.

Add WS_CLIPCHILDREN|WS_CLIPSIBLINGS to m_wndTabControl.Create.

(may be to CListCtrl and Dialog too).



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



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