Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - CXTPPropertyGridItemColor crash
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPPropertyGridItemColor crash

 Post Reply Post Reply
Author
Message
cxiaobao View Drop Down
Newbie
Newbie


Joined: 24 April 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote cxiaobao Quote  Post ReplyReply Direct Link To This Post Topic: CXTPPropertyGridItemColor crash
    Posted: 24 April 2008 at 9:53pm
I use Property Grid in a DockingPane, and there is a CXTPPropertyGridItemColor item whith eidtor style "xtpGridItemColorPopup"  in it. After selecting "more colors", it crashs!

sorry for my english.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 April 2008 at 11:38pm
Hello,
 
I just tried with our sample and it works.
 
Please open Samples\PropertyGrid\DrawClient\ sample and check it.
 
Do you have 11.2.2 version ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
cxiaobao View Drop Down
Newbie
Newbie


Joined: 24 April 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote cxiaobao Quote  Post ReplyReply Direct Link To This Post Posted: 25 April 2008 at 12:07am
I use the version 11.2.1.

I change the line 277 in Samples\PropertyGrid\DrawClient\mainfrm.cpp just like this:

pCategorySelected->AddChildItem(new CXTPPropertyGridItemColor(ID_ITEM_FILLCOLOR, pSelected->m_logbrush.lbColor));

==>

CXTPPropertyGridItemColor* pColorItem = new CXTPPropertyGridItemColor(ID_ITEM_FILLCOLOR, pSelected->m_logbrush.lbColor);
        pColorItem->SetEditorStyle(xtpGridItemColorPopup);
        pCategorySelected->AddChildItem(pColorItem);

the problem appears just the same.
The ColorPop window disappears when i click "more colors"

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 25 April 2008 at 12:41am
Hello,
Think it was fixed already. I can't reproduce. Please wait a little, 12.0 is almost published.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.