Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPControlEdit in the ribbon -  limit edit digits
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPControlEdit in the ribbon - limit edit digits

 Post Reply Post Reply
Author
Message
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlEdit in the ribbon - limit edit digits
    Posted: 28 November 2018 at 10:27am
I would like to limit the possibilities if the user.
The user should only be able to enter digits.

CXTPControlEdit
* pControlEdit = (CXTPControlEdit*)pGroup->Add(xtpControlEditID_MY_CONTROL); pControlEdit->SetEditStyle(ES_NUMBER);


SetEditStyle does not work.

Any ideas to solve this problem?


Thanks

Alex
Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 29 November 2018 at 6:19am
Will subclassing solve it? Any Idea or Sample Codejock?

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.