Print Page | Close Window

How to get the "linewidth"...

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2143
Printed Date: 20 May 2024 at 1:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to get the "linewidth"...
Posted By: youfly
Subject: How to get the "linewidth"...
Date Posted: 21 April 2005 at 1:07pm
Sorry for troubling you,but I really didn't know how to solve it.

In my MFC Application,I added a button through which I could change the width of a line on a toolbar, just as the 1st button on the toolbar at the bottom of the sample "CustomThemes".But then I found that I couldn't get the linewidth through the button,and also that,even I closed all the documents, the button was still available,not grayed.What was worse, the button was available though I didn't write any codes on it ,such as "OnLineWidthButton" or "OnUpdateLineWidthButton".The sample had the same problems.

I really could not solve it all by myself.I need your help.
I'm looking forward to your reply.Thank u.




Replies:
Posted By: Oleg
Date Posted: 21 April 2005 at 11:10pm
I think you call

pControl->SetFlags(xtpFlagManualUpdate);

but you don't need it.



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



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