Execute event does not always trigger |
Post Reply |
Author | |
dajv
Groupie Joined: 27 July 2004 Location: Australia Status: Offline Points: 80 |
Post Options
Thanks(0)
Posted: 05 January 2006 at 8:01pm |
Gday,
I have been trying to track down this problem for a while. It cannot be reproduced reliably. After a period of time ranging from 10 minutes to a couple hours of having our application open, eventually context menus no longer respond to mouse clicks. The user right clicks, the menu displays, but none of the controls in the menu respond. I have been able to determine that when this happens, the Execute event is NOT being fired at all. The only thing that fixes it is restarting the application. I have found that if I use the TPM_RETURNCMD flag then I don't get this problem, as I can force the calling of the Execute event. (When the above problem occurred I saw that other context menus that did not rely on the Execute event triggering (ie used TPM_RETURNCMD) did not suffer from the same problem.) So the work around is to always use TPM_RETURNCMD, but would appreciate if you can you look into this, since it isn't ideal. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, Can you send exceutable/your code to our issuetrack to debug it?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
dajv
Groupie Joined: 27 July 2004 Location: Australia Status: Offline Points: 80 |
Post Options
Thanks(0)
|
Well in theory you should be able to reproduce it with the CommandBars samples, so it wouldn't make a difference sending our code/executable (which I'm not permitted to do).
It is seemingly random - I have tried to reproduce it myself and cannot. It only seems to happen on non-development machines. Perhaps you can review the code in question and examine how this could arise, if at all. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, We can't reproduce it, and nobody reported about it, so I guess you have some code in your application that can be reason of it. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |