Print Page | Close Window

Disable CXTPTaskPanel

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=2667
Printed Date: 08 November 2025 at 4:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable CXTPTaskPanel
Posted By: Hazelnut
Subject: Disable CXTPTaskPanel
Date Posted: 31 July 2005 at 11:45pm

Hi,

I need to disable the TaskPanel during certain times in my application. Disable as in, not being able to select item or change tabs.  Since it is a CWnd based class, I thought mWndTaskPanel.EnableWindow(FALSE) would work, but it doesn't   So, does anyone know how to completely disable the TaskPanel (and reenable it too!) ? Perhaps I'm totally overlooking something?

Thanks!




Replies:
Posted By: Oleg
Date Posted: 01 August 2005 at 5:29am

Are you sure it doen't work?

In our sample I added code

void CMainFrame::OnThemeOffice2000()
{

  ..

   m_wndTaskPanel.EnableWindow(FALSE);

}

 

And it become disabled after I click Office 200 theme.



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


Posted By: Hazelnut
Date Posted: 01 August 2005 at 10:27am
For the life of me, I swear that didn't work , but now it does!  I must be going nuts. Thanks Oleg!



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