Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Task Panel
  New Posts New Posts RSS Feed - Why overrides PreTranslateMessage function?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Why overrides PreTranslateMessage function?

 Post Reply Post Reply
Author
Message
corapollo View Drop Down
Newbie
Newbie
Avatar

Joined: 10 March 2008
Location: China
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote corapollo Quote  Post ReplyReply Direct Link To This Post Topic: Why overrides PreTranslateMessage function?
    Posted: 18 June 2008 at 8:39am
Hi.
I showed codjock taskpanel sample project, and I feel dubious why overrides PreTranslateMessage function in CTaskPanelDlg class.

if dosen't it, what error occur?

Oh, Apollo...
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 886
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2008 at 9:29am
You can subclass and override PreTranslateMessage yourself and not send it to the parent class.
 
I suspect you will find that tabbing stops working.
Back to Top
corapollo View Drop Down
Newbie
Newbie
Avatar

Joined: 10 March 2008
Location: China
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote corapollo Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2008 at 10:12pm
Oh, you are right!
Thanks.

Oh, Apollo...
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.203 seconds.