Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Message posted in case of edit changed.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Message posted in case of edit changed.

 Post Reply Post Reply
Author
Message
devam View Drop Down
Groupie
Groupie
Avatar

Joined: 20 March 2008
Location: India
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote devam Quote  Post ReplyReply Direct Link To This Post Topic: Message posted in case of edit changed.
    Posted: 05 August 2008 at 9:24am
Upon changing text and moving focus out from an edit box in a property grid, or upon changing text and pressing Enter, the control (XTPPropertyGrid) fires a message XTP_PGN_ITEMVALUE_CHANGED. I have handled this message to save the changed text.

But only in case if we change the string from "2f_MSP Ring_2" to "2f_MSP Ring_1" (by taking the cursor to the last position and pressing backspace and then typing the digit 2 and then pressing enter or moving focus out of the row), XTPPropertyGrid is not firing the XTP_PGN_ITEMVALUE_CHANGED event, instead it is firing another event (called XTP_PGN_EDIT_CHANGED) which I cannot handle because this is the event fired in case of each keypress in the edit box. This problem is persistent only on the affore-mentioned text, any other text change is firing the correct message.
 
Any help on how we can handle this change in text would be of great help.
DC
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.172 seconds.