Print Page | Close Window

XTTabView

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=1770
Printed Date: 07 July 2025 at 3:09am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTTabView
Posted By: AndyS
Subject: XTTabView
Date Posted: 09 February 2005 at 2:37pm

Two issues,

1. When resizing an XTTabView all is OK until the size reduces to the point where the <> arrows need to be drawn at this point the dialog window (when undocked obviously) jumps back to the initial size of the window and all toolbars, menus become unresponsive. The application window also refuses to move but all else functions OK. I noticed this symptom is mentioned in very old release notes relating to TabCtrlBars. Is this a known problem. For the record the tab view is not using XP style so doesn't use any of the OnDrawTop/left/right etc routines in the source.

2. When I add ModifyTabStyle(NULL,TCS_MULTILINE) the problem above goes away. However, the tabs do not render. I tried this in the codejock sample app - TabView - in exactly the place where the sample code has a commented out line for putting tabs at the bottom. The same thing happens, half the tabs are not rendered at all.

Any input would be good as otherwise I'll have to bin out the TabView which would be a shame.




Replies:
Posted By: AndyS
Date Posted: 09 February 2005 at 3:29pm

Ok so I worked out the first one. An errant message being sent "deep" to descendants caused the mysterious lockup and it's specific to any tab controls not just the tab view. Solved that by fixing the message. Incidentally any information on generating guaranteed unique timerId's within an app? I'm OK with unique messages and GUID but the ID of the timer is poorly documented.

Point 2 still stands, change the line in the sample app and the tabs don't render.




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