> Outlook 2003 and 2007. VS 2008 with C# and Shared Add-in is what I am doing.
>
> What I try to do is at some point the my code will create a preference
> window. So I created a Form window with some controls on it. this part is
> straight forward. but I want the window act like application's preference
> window. (for example, outloook's option window).
>
> thanks.
>
>
> "Ken Slovak - [MVP - Outlook]" wrote:
>
> > What version of Outlook, what development platform and language, what code
> > are you using to do what you're doing?
> >
> > --
> > 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> >
> >
> > "BatKing" <BatKing[ at ]discussions.microsoft.com> wrote in message
> > news:CBDE92EF-6A1F-480B-B6A8-7BDC18012562[ at ]microsoft.com...
> > > Hi,
> > >
> > > I created a preference window for my outlook add-in with windows forms. I
> > > have 2 questions.
> > >
> > > 1. should the preference window be the child window of outlook main
> > > window?
> > > if Yes how to make it move outside the outlook window? If I set the parent
> > > window as outlook window, then my window cannot move outside and my window
> > > is
> > > kind of flicking and got overlapped by outlook windows (just partially. it
> > > seems outlook is try to draw over my preference window). However if I use
> > > Spy++ and look at the option window of outlook, it is a child window of
> > > outlook and can still move outside. (I am a noob here. but the tree
> > > structure
> > > in spy++ is different for this kind of child window. it is not a sub tree
> > > item under outlook window. However in the property's windows tab, it shows
> > > outlook as the parent window).
> > >
> > > 2. How can I make my preference window always on top of the outlook window
> > > so that if it is not closed, user cannot focus back to outlook. this is
> > > just
> > > like the option window in outlook.
> > >
> > >
> > > Thanks.
> >
> >