TheSwamp

Code Red => .NET => Topic started by: MDONUT12 on July 03, 2007, 11:08:57 AM

Title: Hook into AutoCAD Open dialog box?
Post by: MDONUT12 on July 03, 2007, 11:08:57 AM
Some users here in our office would like to see an extra button, or pulldown of some sort to access a program i created in .net. However I can't see how to add a button to this dialog box? Does anyone know if its even possible? I'm mainly trying to just replicate a button like the "search to web" but my program will search our network instead.

I know the alternate is to create my own openfiledialog, but was hoping i could just use the standard AutoCAD one.

Thanks for any help!!
Title: Re: Hook into AutoCAD Open dialog box?
Post by: Glenn R on July 03, 2007, 07:24:30 PM
Unless it's a .net dialog/app (the open file dialog isn't), you can't add controls to it per se. You can, with some C++ trickery and windows hooks, OVERLAY a button for instance on top of the dialog and get it to 'follow' the dialog around if it's moved etc.