TCDRC - Tutorials and Examples

(This section is in need of a pretty significant overhaul. DB)

In this Section

Tutorials, Hello Worlds, Other Examples

Tutorials

First Tutorial submitted is

Using VBA Forms in TurboCAD DLLs by Rob Raine. Explains how to reuse Forms from VBA macros in VB DLLs

Hello Worlds

I thought as a starting point, it would be useful to make a collection of very simple 'Hello World' examples for all possible application/language combinations. For some of the projects I have written a brief specification - it's desirable that we create tools to follow the spec eventually, but at this stage anything is better than nothing.

Example Language File Name Who/Satus
Macro Spec The suggestion is we just make a series of very simple macros all in the one .tcm. I will start with drawing text at WCS 0,0,0
VBA HelloWorld_Macro_VBA.zip I can do this. DB
Custom Dragger (Tool) Spec

This Dragger should contain two tools:

  • Tool 1 draws the text "Hello World Dragger" at WCS 0,0,0
  • Tool 2 pops up an input box for the user to set a text value, and then creates creates an instance of the HelloWorld_Regen (see below) at WCS 0,0,0 with that value set in it's custon text property.
VB HelloWorld_Dragger_VB.zip I can do this. DB
C++ (MFC) HelloWorld_Dragger_MFC.zip Takers?
C++ (ATL) BCHelloWorld (4-Feb-04).zip (temporary)
HelloWorld_Dragger_ATL.zip
I can do this. DB
C++ (BCB) HelloWorld_Dragger_BCB.zip Alfred K
Delphi HelloWorld_Dragger_Delphi..zip Takers?
Custom Regen Spec This Regen should create text that can be edited via a custom Property Page.
VB HelloWorld_Regen_VB.zip I can do this. DB
C++ (MFC) HelloWorld_Regen_MFC.zip Takers?
C++ (ATL) HelloWorld_Regen_ATL.zip I can do this. DB
C++ (BCB) HelloWorld_Regen_BCB.zip Takers?
Delphi HelloWorld_Regen_Delphi.zip Takers?
Custom Ties, Filters, Pallets, etc ??? Pallet Mark E?
Client Applications Spec This application should be dialog based, with an instance of a TC drawing in the main window. There should be a button/menu that causes some text to be drawn in the drawing.
VB
C++ (MFC)
C++ (ATL)
C++ (BCB)
Delphi