Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
developer
active.documents
automation
binary.file_format
clipboard.dde
com.add_ins
hosting.controls
internet_other
office.sdks
officedev
officedev.other
outlook.forms
outlook.vba
smarttags
vba
web.components
  
 
date: Tue, 29 Jul 2008 03:45:26 -0500,    group: microsoft.public.office.developer.outlook.forms        back       


Working With Custom form in outlook 2007 and 2003   
Hi,

I have designed a custom form and published it.
So far now its working fine.
Now on What I want is to add BCC RecipientControl in my custom form at runtime.
As we can add in default outlook compose form.
But by default insert BCC option is disabled.

if I add BCC RecipientControl at design time it will be displaying always.
I want make work as outlook does for BCC RecipientControl.
In Short I want to enable default insert BCC option present in outlook,on my custom form.
  
Is there any work around to achieve this

Regards
Mangesh
date: Tue, 29 Jul 2008 03:45:26 -0500   author:   Mangesh

Re: Working With Custom form in outlook 2007 and 2003   
Do you want to show the BCC field using code or when the user wants it 
shown? The user should be able to show BCC as they desire even with a custom 
message form.

For code you'd have to simulate what a user would do to show the BCC field.

For Outlook 2003 that means getting the CommandBarControl that represents 
the View, BCC Field menu item, which has a control ID of 8160. Once you have 
that control as a CommandBarButton object you can call its Execute method to 
toggle showing the BCC field.

For Outlook 2007 that means looking up the idMso for the BCC toggle control 
in the ribbon and then using the Office.CommandBars.ExecuteMso() method with 
the idMso of the BCC control. The ribbon references from the Office 
Development Web site will have the idMso's for the various ribbons where you 
want to call that method. There are different ribbons for compose and read 
messages so you need to know which you plan on handling.

-- 
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


"Mangesh"  wrote in message 
news:eMBV7eV8IHA.5712@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> I have designed a custom form and published it.
> So far now its working fine.
> Now on What I want is to add BCC RecipientControl in my custom form at 
> runtime.
> As we can add in default outlook compose form.
> But by default insert BCC option is disabled.
>
> if I add BCC RecipientControl at design time it will be displaying always.
> I want make work as outlook does for BCC RecipientControl.
> In Short I want to enable default insert BCC option present in outlook,on 
> my custom form.
>
> Is there any work around to achieve this
>
> Regards
> Mangesh
date: Tue, 29 Jul 2008 09:24:56 -0400   author:   Ken Slovak - [MVP - Outlook]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us