Help!

Refesh problem of ribbonX or not?

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins RSS
Next:  outlook 2007 html mail problem.  
Author Message
ryotyankou via OfficeKB.c
External


Since: Apr 10, 2009
Posts: 16



PostPosted: Fri Oct 16, 2009 6:10 am    Post subject: Refesh problem of ribbonX or not?
Archived from groups: microsoft>public>outlook>program_addins (more info?)

I create a commandbar on EXPLORER and the it have a button, the button have
two state icon. Now in any new INSPECTOR also have the same button(Ribbon).
EXPLORER is full screen, and new mail's INSPECTOR is smaller than EXPLORER ,
and i can see the both of the two button. I change the button state icon in
INSPECTOR, and also change the button icon on EXPLORER by code. At this time,
INSPECTOR is the active window, its icon changed quickly, but EXPLORER 's
icon not changed, unless i click the EXPLORER and make its window as active
one, is this a bug of outlook2007? How could i make both icon change as soon
as i click the button.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/outlook-prog-addins/200910/1
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3355



PostPosted: Fri Oct 16, 2009 10:03 am    Post subject: Re: Refesh problem of ribbonX or not? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What does this have to do with RibbonX refresh? The Inspector ribbon control
is updating, isn't it?

For the Explorer, activate it, update it and then deactivate it. Otherwise
wait for it to be activated for the refresh to occur.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"ryotyankou via OfficeKB.com" <u48591@uwe> wrote in message
news:9dabf13287cc6@uwe...
>I create a commandbar on EXPLORER and the it have a button, the button have
> two state icon. Now in any new INSPECTOR also have the same
> button(Ribbon).
> EXPLORER is full screen, and new mail's INSPECTOR is smaller than EXPLORER
> ,
> and i can see the both of the two button. I change the button state icon
> in
> INSPECTOR, and also change the button icon on EXPLORER by code. At this
> time,
> INSPECTOR is the active window, its icon changed quickly, but EXPLORER 's
> icon not changed, unless i click the EXPLORER and make its window as
> active
> one, is this a bug of outlook2007? How could i make both icon change as
> soon
> as i click the button.
>
> --
> Message posted via OfficeKB.com
> http://www.officekb.com/Uwe/Forums.aspx/outlook-prog-addins/200910/1
>
Back to top
ryotyankou via OfficeKB.c
External


Since: Apr 10, 2009
Posts: 16



PostPosted: Sun Oct 18, 2009 10:10 pm    Post subject: Re: Refesh problem of ribbonX or not? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It seems that this is just the working way for ribbon. Right? But in
outlook2003, the button icon change as soon as i make some change on it by
code.(yeah, i want it to change).

Ken Slovak - [MVP - Outlook] wrote:
>What does this have to do with RibbonX refresh? The Inspector ribbon control
>is updating, isn't it?
>
>For the Explorer, activate it, update it and then deactivate it. Otherwise
>wait for it to be activated for the refresh to occur.
>
>>I create a commandbar on EXPLORER and the it have a button, the button have
>> two state icon. Now in any new INSPECTOR also have the same
>[quoted text clipped - 11 lines]
>> soon
>> as i click the button.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/outlook-prog-addins/200910/1
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3355



PostPosted: Mon Oct 19, 2009 9:47 am    Post subject: Re: Refesh problem of ribbonX or not? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Are you calling Invalidate or specifically invalidating that control? If you
are then that's just the way things work with the ribbon. Personally I find
a lot of limitations in programming and working with the ribbon and don't
find it a very satisfactory way to do things. But since it's not up to me I
have to live with it.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"ryotyankou via OfficeKB.com" <u48591@uwe> wrote in message
news:9dcd95dad8cef@uwe...
> It seems that this is just the working way for ribbon. Right? But in
> outlook2003, the button icon change as soon as i make some change on it by
> code.(yeah, i want it to change).
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum