Autodesk Vault Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Is it possible to set Vault Explorer main view as my window owner ?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
108 Views, 1 Replies
09-20-2012 02:43 AM
I want to get Vault explorer handle as my window owner in n Vault Pro 2013, is it possible? Please see the following codes.
TestWindow win = new TestWindow();
//win.Owner = null;????????
win.ShowDialog();
YU
Re: Is it possible to set Vault Explorer main view as my window owner ?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-26-2012 03:36 AM in reply to:
yuh0317
Well, maybe there is something to it, that i don't see right now... I'm assuming that you're running inside VaultExplorer right now... Why don't you pass the hwnd to ShowDialog(...)?
If you don't have the handle, you can get it via your current Process:
TestForm test = new TestForm();
test.ShowDialog(
System.Diagnostics.Process.GetCurrentProcess().Mai nWindowHandle
);
Regards,
Martin
