Print Page | Close Window

CXTColorPicker on a CPropertyPage

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=37
Printed Date: 29 April 2024 at 2:07am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTColorPicker on a CPropertyPage
Posted By: stringbass
Subject: CXTColorPicker on a CPropertyPage
Date Posted: 29 May 2003 at 2:14pm

Place a CXTColorPicker object on a CPropertyPage, subclass the control as usual, set CPS_XT_EXTENDED and CPS_XT_MORECOLORS.

Run and select the control then select More colors... then ESC or Cancel. This will usually cause an exception. If not on first try shortly after a couple more.

Debugger lands in XTColorPopup.cpp, LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam), m_pShadow->OnHookMessage .....

Setting xtAfxData.bMenuShadows = FALSE seems to keep this from happening.

Occurs with VC7.0 or 7.1 and Win2K or XP for me.

I posted this info with a sample project thru the Bug report section but havn't received an acknowledgement that the information was received.

 

 



-------------
stringbass



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