DCL Files C++
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
DCL Files C++
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization

Author Message
sdpurkey
Guest





Posted: Sat Feb 12, 2005 2:24 am    Post subject: DCL Files C++ Reply with quote

Is it true that one can use C++ to develop DCL files that can be called from AutoLisp?

Back to top
James Maeding
Guest





Posted: Sat Feb 12, 2005 2:34 am    Post subject: Re: DCL Files C++ Reply with quote

well, dcl files are just text files. So anyone could write a gui interface from any windows language to make dcl files.
But you cannot use visual studio's gui for vb or c++ to make the dcl files...

So, in short, no

sdpurkey <nospam@address.withheld>
|>Is it true that one can use C++ to develop DCL files that can be called from AutoLisp?

James Maeding
jmaeding at hunsaker dot com
Civil Engineer/Programmer
Back to top
sdpurkey
Guest





Posted: Sat Feb 12, 2005 2:37 am    Post subject: Re: DCL Files C++ Reply with quote

Thanks for the help. I've been taking existing DCL boxes and rearranging them. This is kind of silly, what is the best way?

Thanks for the help.
Back to top
James Maeding
Guest





Posted: Sat Feb 12, 2005 4:14 am    Post subject: Re: DCL Files C++ Reply with quote

since you asked <G>
ObjectDCL blows the doors off normal DCL and is a whole lot easier to program.
Grab the prog from objectdcl.com and take a look at the sample progs.

The cool thing is that it acts just like VB in terms of organization.

In VB, the callbacks to your controls are in the code portion of the form.
With ODCL, you place the callbacks anywhere, but I recommend making a lisp for each form.

Then, you fll in code for the form initialize event and each controls click, or whatever event.
I can help you too if you want to use ODCL. I use it for everything.

In fact, I just posted a free prog to the customer files section, the zip has an .odc file in it (as well as the vlx and
others...) That odc file is the dialog box definition. You can open it with ODCL and hack away if you want, its not
protected.

That will give you an idea of a prog that does things normal dcl cannot come close to, like the resizable dialog and the
way I chage label colors when an entity has a hardcoded property...try the prog to see what I mean.
thx

sdpurkey <nospam@address.withheld>
|>Thanks for the help. I've been taking existing DCL boxes and rearranging them. This is kind of silly, what is the best way?
|>
|>Thanks for the help.

James Maeding
jmaeding at hunsaker dot com
Civil Engineer/Programmer
Back to top
James Buzbee
Guest





Posted: Sat Feb 12, 2005 7:26 pm    Post subject: Re: DCL Files C++ Reply with quote

I'm up with that - I think Chad's ObjectDCL is so good I'm willing to help -
give .odc files to anyone who wants to give it a go. I've done things with
Lisp and ObjectDCL that I could only dream of before . . .. In fact I'll
post one that has most of my forms in the CF NG - it has Modal, Modeless,
and dockable forms included.

jb
Back to top
sdpurkey
Guest





Posted: Mon Feb 14, 2005 1:35 am    Post subject: Re: DCL Files C++ Reply with quote

Thanks, I'm definately up for it - sounds great!!
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Access Forum - Microsoft Office Forum - Electronics

Contact Us Powered by phpBB