Double preview notification - XTP_GN_PREVIEWCHANGE |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
Posted: 15 January 2010 at 4:56pm |
I have noticed that a gallery seems to get the XTP_GN_PREVIEWCHANGE twice in some circumstances.
The first notification comes from OnMouseHover and is expected. The second notification comes from CXTPControlGallery::HideSelection.
To see this, I set a breakpoint in my notification handler and popup my gallery. Then I move the mouse over an item in the gallery and the OnMouseHover code sends me the notificatoin. Then if I hit the escape key, HideSelection calls me again.
We have some pretty expensive display operations that are executing and I wonder why the call is being made from both places. And I wonder how to avoid the duplicate call.
|
|
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 |