Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - ControlSelected event for Gallery Items
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ControlSelected event for Gallery Items

 Post Reply Post Reply
Author
Message
San0k View Drop Down
Groupie
Groupie


Joined: 06 February 2008
Location: Ukraine
Status: Offline
Points: 48
Post Options Post Options   Thanks (0) Thanks(0)   Quote San0k Quote  Post ReplyReply Direct Link To This Post Topic: ControlSelected event for Gallery Items
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 February 2008 at 2:58pm
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
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.109 seconds.