View Single Post
  #1  
Old February 17th 09, 05:43 AM posted to microsoft.public.outlook.program_forms
Ram Manohar
external usenet poster
 
Posts: 1
Default Outlook Tool bar

Hi,
I have a user control with me and I am trying to add that to a Outlook
toolbar in a customized command bar which i create.How do i do that?

Initially I was having a form and a NativeWindow and I was calling
form.Show(NativeWindow.Handle)

As you notice the handle of the parent is given to Show() call.But if you
remove the parameter it will not work.
Now show function of user control has no parameters as well as Parent
property is a Control and I have a NativeWindow with me.How do i assign
UserControl.Parent property to a NativeWindow?
Thanks in advance
Regards
Ram Manohar

Ads