PreTranslateMessage is not called in CMessageFilter and CEdit derived class

"izm_ka" <izm_ka-/[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>
Maybe this question has been answered somewhere on forums, but I could not find. Basically, I want to filter chars in the in-place edit box to allow entering only digits (for integer). I thought that PreTranslateMessage can help, but the method is never called. My in-place control is derived as:

class CMyInPlaceEdit
	: public CWindowImpl<CMyInPlaceEdit, CEdit>
	, public CMessageFilter
	, public CUpdateUI<CMyInPlaceEdit>
{
public:
    DECLARE_WND_SUPERCLASS(_T("inplaceEdit"), CEdit::GetWndClassName())

    virtual BOOL PreTranslateMessage(MSG* pMsg);
...

Please help...



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.