Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to get the "linewidth"...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to get the "linewidth"...

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


Joined: 18 April 2005
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote youfly Quote  Post ReplyReply Direct Link To This Post Topic: How to get the "linewidth"...
    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.

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: 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
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.