Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Mask edit style functionality in record item?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mask edit style functionality in record item?

 Post Reply Post Reply
Author
Message
cbamford View Drop Down
Newbie
Newbie


Joined: 21 November 2005
Location: United Kingdom
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote cbamford Quote  Post ReplyReply Direct Link To This Post Topic: Mask edit style functionality in record item?
    Posted: 29 May 2008 at 10:00am
I'm trying to implement a mask edit style control as a report item. I have overridden the OnChar in my derived class, I derived from CXTPReportRecordItemText into my new class but it doesn't seem to be hitting the OnChar. Is there an NM I need to handle or is there a more elegant way to do this ?

Thanks for any help with this.
Back to Top
jpnascim View Drop Down
Groupie
Groupie
Avatar

Joined: 17 November 2006
Location: Brazil
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpnascim Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2013 at 10:20am
I know it is an old thread but I am having the same problem as you and I discovered that OnChar() message is only called when you are not in "edit mode" (in place edit) of a CXTPReportRecordItemText. If you navigate to a particular cell using arrow keys and then press any other key, OnChar is invoked.

Not sure if it helps after all these years but...

Regards,

João Pedro
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.