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

MaskedEdit Problem

 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: MaskedEdit Problem
    Posted: 03 June 2015 at 8:28am
Overtyping selected numers in a date leads to unexpected behaviour.
The numbers at the last positions should not be replaced by undercores.
Any Option to void this?
Please help!


Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2015 at 5:55am
Hello Alex,

You can change this behaviour in CXTPMaskEditT::SetMaskedText() method.

Regards,
 Oleksandr Lebed
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: 16 June 2015 at 9:11am
Thank you but
void SetMaskedText(LPCTSTR lpszMaskedTextint iPos = 0, BOOL bUpdateWindow = TRUE)

is not virtual, so i will have to patch my XTP soures, right?
Regards,

Alex
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2015 at 9:22am
Yes, you are right.
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.154 seconds.