Print Page | Close Window

XTPButton PressedOver..

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Visual C++ MFC
Forum Description: Topics related to Codejock Visual C++ MFC products
URL: http://forum.codejock.com/forum_posts.asp?TID=12046
Printed Date: 28 September 2024 at 10:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTPButton PressedOver..
Posted By: yesmedia
Subject: XTPButton PressedOver..
Date Posted: 02 September 2008 at 6:12am
Hi. I'm using XTP 12.0.1 version.
 
I'm using XTPButton with skin(using *.cjstyle).
 
but normal mouse over button and pressed mouse over button are same.
 
It's difficult distinction.
 
I want to clear distinction.
 
Howto apply different button?
 
please help me.



Replies:
Posted By: Oleg
Date Posted: 08 September 2008 at 2:29am
Hi,
 
I don't see it. What skin do you use ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: yesmedia
Date Posted: 21 September 2008 at 9:50pm
I solved it.
 
Create derived button(CXTPButtonEx).
 
and override MouseMove event hadler.
 
if mouse over then drawing button rectangle.
 
------------------------------------------------------
 
if more good idea, plz tell me.



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