ControlSelected event for Gallery Items |
Post Reply |
Author | |
San0k
Groupie Joined: 06 February 2008 Location: Ukraine Status: Offline Points: 48 |
Post Options
Thanks(0)
Posted: 08 February 2008 at 7:44am |
Hello,
How I can implement handler for separate CommandBarGalleryItem's? I have try CommandBars.ControlSelected event, but in e.control.Id I see uid of my Gallery control. And if I swich between gallery items event are not fired I want implement behavior like Office 2007. (e.g. dynamic changing fonts in Word 2007) Thanks. P.S. Sorry for my poor english. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
You need use ControlNotify event.
Add these notifications:
const UINT XTP_GN_PREVIEWSTART = 0x1010;
const UINT XTP_GN_PREVIEWCANCEL = 0x1011; const UINT XTP_GN_PREVIEWAPPLY = 0x1012; const UINT XTP_GN_PREVIEWCHANGE = 0x1013; |
|
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 |