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

CXTPControlGallery

 Post Reply Post Reply
Author
Message
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlGallery
    Posted: 09 June 2007 at 4:16am

Hi

We are overriding the

BOOL CMyXTPControlGallery::OnLButtonDblClk( CPoint point )

however have a slight problem where by if we override this and the user presses the up/down arrows for the gallery control too fast then it does not scroll as it thinks it was a double click.

Any ideas how we can get around this ?
 
Also is it possible with current XTP to drag thumbnails from gallery controls and detect when dropped onto our canvas in our CView class.
 
Thanks any help appreciated.
Terry
 
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2007 at 5:51am
Any body have a solution to above problem :( as it is one of the only remaining problems we need to find a solution for :(
 
Any help appreciated
 
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
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: 15 June 2007 at 3:23pm
Hi, just check if mouse on buttons and call base method.
 
if (m_spi.ht != HTNOWHERE)
{
CXTPControl::OnLButtonDblClk(point );
return;
}
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 17 June 2007 at 4:35am
perfect, works a treat
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
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.030 seconds.