Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPControlEdit::GetEditText returns old value
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPControlEdit::GetEditText returns old value

 Post Reply Post Reply
Author
Message
fleg View Drop Down
Groupie
Groupie


Joined: 11 July 2012
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote fleg Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlEdit::GetEditText returns old value
    Posted: 11 July 2012 at 9:33am
Hi,

here is my problem.

I have CXTPControlEdit in a ribbonBar group.
When the group is visible, no problem.
When the group is fully reduced (can see only the group name, no control), i have the following problem :
 
The current value of EditText is "A", I enter "B", I receive the notification message properly but
 CXTPControlEdit::GetEditText() returns "A" instead of "B".
If I click outside the group, then click again on the group to show the reduced control, my edit control shows "A" instead of "B".

If the group is not reduced, GetEditText() returns "B"

Here is the object data after calling GetEditText(), when group is NOT reduced
m_strLastText = "A"
m_strLastText = "B"

Here is the object data after calling GetEditText(), when group is reduced
m_strLastText = ""
m_strLastText = "A"

Question :
I'm currently using ToolKitPro 12.0.1 (MFC)
Is it a known bug or I did something bad ?
If it is a bug in toolkitpro, it is fixed in some more recent version ?


Back to Top
fleg View Drop Down
Groupie
Groupie


Joined: 11 July 2012
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote fleg Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2012 at 5:51am
Checked the last sample application pack
Ribbon.RibbonControls.exe
seems to have the same problem.
Any fix planed ?

Back to Top
ilya View Drop Down
Groupie
Groupie


Joined: 07 May 2012
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote ilya Quote  Post ReplyReply Direct Link To This Post Posted: 11 November 2012 at 12:48pm
The bug is fixed and will be available in the next official update.

Thank you.
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.