View Single Post
  #2  
Old December 17th 08, 02:27 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default questions about windows relationship and always on top.

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" wrote in message
...
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.


Ads