Zhang
Zhang

Reputation: 3346

Numeric Edit Control for ATL/WTL

Here's a demo of Numeric Edit Control for MFC. https://www.codeproject.com/Articles/6296/Numeric-Edit-Control-2 But I'm working on this WTL / ATL control.

template <class TBase>
class CEditT : public TBase
{};
typedef CEditT<ATL::CWindow>   CEdit;

You can find the definition in here https://codedocs.xyz/AnotherFoxGuy/crashrpt/classWTL_1_1CEditT.html

It doesn't have PreTranslateMessage like in MFC. Then, how do I trigger WM_KEYDOWN at first?

Upvotes: 0

Views: 41

Answers (0)

Related Questions