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

Resizing Problem in CXTSearchOptionsView

 Post Reply Post Reply
Author
Message
aimslife View Drop Down
Newbie
Newbie
Avatar

Joined: 19 January 2007
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote aimslife Quote  Post ReplyReply Direct Link To This Post Topic: Resizing Problem in CXTSearchOptionsView
    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
.
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.156 seconds.