Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Colour selection bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Colour selection bug

 Post Reply Post Reply
Author
Message
Dmitry View Drop Down
Groupie
Groupie


Joined: 28 November 2004
Location: Australia
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmitry Quote  Post ReplyReply Direct Link To This Post Topic: Colour selection bug
    Posted: 07 November 2005 at 7:06pm
Hi,

In MS Office, when selecting a colour, the user can click on the CXTPControlPopupColor-equivalent, then while the mouse button is still down, select a colour from CXTPControlColorSelector-equivalent and on mouse-up the colour will be chosen.

In XTP (v9.70), nothing happens on mouse-up, and the user is forced to click again.

Is there a fix for this?

Regards,
Dmitry
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 08 November 2005 at 4:11am

Thank you for this point.

Here fix that will be ncluded in 9.81:

void CXTPControlColorSelector::OnLButtonUp(CPoint point)
{
 if (m_bEnabled && m_pParent->GetPosition() == xtpBarPopup)
 {
  OnClick(TRUE, point);
 }
}

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