[SOLVED] press ^ twice |
Post Reply |
Author | |
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
Posted: 02 July 2010 at 10:51am |
Hello,
after press ^ twice, there is a wrong handling in the report control. Because you receive 2 char ^ to the report control. after the first it open the editor and send ^ to it. Ok. after receive the second. it close the exist editor and create a new one. same problem with other 2 keypress char's. it fired a OnEditChanged and this is not ok. Any solution for this ? jimmy |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Hmm, you're saying that OnEditChanged is triggered before the character pops up? This reminds me of typing a dead key in the VC editor (yielding a token error that you can't see). Considering that, I would argue that a dead key is indeed a valid "edit changed" event.
http://msdn.microsoft.com/en-us/library/ms646267(VS.85).aspx#_win32_Dead_Character_Messages
|
|
PokerMemento - http://www.pokermemento.com/
|
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
Hi,
I think the problem is, that windows send this 2 char to the report windows, and not only the first. My workaround is, that i catch WM_CHAR and check if the inplace is open. and this work for me. Jimmy |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
You can reproduce this with Notepad. Press ^ once and you see'll nothing, press it again and you have two ^^.
|
|
Codejock support
|
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
Yes , i known.
But in Report Control it open the inplace editor, close it, and open a new inplace editor. you see only one ^ char. but the greatest problem is, that OnEditChanged is fired. Jimmy |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Codejock support
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |