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

CXTColorPicker on a CPropertyPage

 Post Reply Post Reply
stringbass View Drop Down

Joined: 14 May 2003
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote stringbass Quote  Post ReplyReply Direct Link To This Post Topic: CXTColorPicker on a CPropertyPage
    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.



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.125 seconds.