Print Page | Close Window

CXTPControlEdit::GetEditText returns old value

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=19945
Printed Date: 06 October 2024 at 10:12am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlEdit::GetEditText returns old value
Posted By: fleg
Subject: CXTPControlEdit::GetEditText returns old value
Date 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 ?





Replies:
Posted By: fleg
Date 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 ?



Posted By: ilya
Date Posted: 11 November 2012 at 12:48pm
The bug is fixed and will be available in the next official update.

Thank you.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net