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

Nifty feature request

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Nifty feature request
    Posted: 25 May 2007 at 3:06am

Hi,

CXTMaskEdit is indeed useful, but most of the time I find the filtering options inadequate. The obvious evolution of such a control is filtering using Regular Expressions. Implementing this should be quite straight-forward since a regex engine is already part of C++0x. That is, using Boost (http://www.boost.org) you get all what you need.
 
Of course, any dependencies on the Boost library are not desirable until it is indeed incorporated into C++, so a good solution would be something like this:
 
#ifdef XTP_USE_BOOSTLIB
class CXTPRegexEdit
{
    ...
    BOOL SetExpression(LPCTSTR szRegex);
};
#endif
 
 
I really think such a control has potential.
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.