Print Page | Close Window

Resizing Problem in CXTSearchOptionsView

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=6221
Printed Date: 29 September 2024 at 1:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Resizing Problem in CXTSearchOptionsView
Posted By: aimslife
Subject: Resizing Problem in CXTSearchOptionsView
Date Posted: 25 January 2007 at 6:43am

I am developing SDI application in vs2k5. It has same design like *SearchOptions* Sample program which comes with Toolkit but my Search Panel make with few changes on requirement. My project contains movable splitter. On the left side, it has Panel which use Dialog to draw panel and on the right side, it has List view and base class is CListView. My panel class *CMailPanel* contain CXTCaption object m_wndCaption and I set Office2003 Theme on it and its work fine and no problem in Resizing. I wrote some code for set Office2003 theme on List Header in *OnInitialUpdate* function in view class, m_header (CXTHeaderCtrl) is member of my view class,

HWND hWndHeader = GetListCtrl().GetDlgItem(0)->GetSafeHwnd();
m_header.SubclassWindow(hWndHeader);
m_header.SetTheme( xtThemeOffice2003 );
 

If I enable these lines of code for set Office2003 theme on list view then my panel view act some abnormal behavior on resizing. Can you guide me, how I fix this bug?



-------------
regards,
-aims
.



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