Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am making excel add-in in which clicking on menu item or toolbar button, Form opened. I have set form's topmost to true but it remain topmost to all applications of windows xp. I just need to remain topmost to Microsoft Excel only.

I have choosed project in Visual Studio 2008, in Excel ->2003.

Please tell me how to do that with any way ........
Posted
Updated 10-Apr-10 10:24am
v2

1 solution

As you've seen topmost applies to the z-order of all active Windows. For what you want you need to set the form's parent as the Excel window.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900