Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - XTTabView
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XTTabView

 Post Reply Post Reply
Author
Message
AndyS View Drop Down
Groupie
Groupie


Joined: 15 December 2004
Location: United Kingdom
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyS Quote  Post ReplyReply Direct Link To This Post Topic: XTTabView
    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.

Back to Top
AndyS View Drop Down
Groupie
Groupie


Joined: 15 December 2004
Location: United Kingdom
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyS Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.168 seconds.