The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Problems VC DialogBuilder Wizard

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
hajo_old Posted - 03/19/2004 : 03:13:46 AM
Hello, all

I tried to create a new wizard (DialogBuilder) with the help of the VC++ OriginC Dialog Wizard (odialog.awx).

As default there are two pages created. If I want to create a third (or even more) page I miss a possibility to add the "Script Name" to the new page definition.

Somewhere in the documentation a found a screenshot where the VC-Wizard Page has a seperat entry field (below the Caption & resource ID entry field) to define the Script Name, but the Wizard provided (odialog.awx - Origin7.5B817) does not show that.

I don't know wether creating a tabbed dialog shows the same problem ...

Could you please provide the "corrected" odialog.awx somewhere for download? Maybe even a good description about using that tool (with some good programming examples)

So far
Hajo

-- --
Dipl.-Ing. Hans-Joerg Koch
Siemens VDO, Regensburg

SVDO_Origin1 is now hajo
7   L A T E S T    R E P L I E S    (Newest First)
hajo_old Posted - 03/24/2004 : 03:01:29 AM
Hello, Gary

Thanks for the file.

It seems to work now!!

So far
Hajo

-- --
Dipl.-Ing. Hans-Joerg Koch
Siemens VDO, Regensburg

SVDO_Origin1 is now hajo
hajo_old Posted - 03/23/2004 : 3:27:25 PM
Hello, Gary

Thanks for your help!
I'm going to try that out tomorrow at work!!

So far
Hajo

-- --
Dipl.-Ing. Hans-Joerg Koch
Siemens VDO, Regensburg

SVDO_Origin1 is now hajo
Gary Lane Posted - 03/23/2004 : 12:46:30 PM
Hi,

Ugh! Mystery solved. Problem is that the file \ATI\Dialog Builder\ODialog.awx got updated in Origin 7.5 SR2 but our SR2 patch program did not patch this file...so Origin 7.5 SR2 users who patched to get SR2 will not see the update. To get the updated file OriginPro 7.5 users should click the link below:

http://www.originlab.com/www/support/resultstech.aspx?ID=1020&language=English

Maybe you should also check for updates in Origin 7.5 to make sure you have the most recent help files as well.

Thanks for reporting problem Hajo.

Gary
OriginLab

Edited by - Gary Lane on 03/23/2004 1:19:06 PM
Gary Lane Posted - 03/23/2004 : 12:07:21 PM
Hi Again,

It just occured to me that we may have a bug in our SR2 patch program and that the Dialog Builder AppWizard may not be getting updated by the patch (in-house we install so much that we have the luxury of installing SR2 and not patching). It may take an hour or so for me to get back to you but let me check on this issue for you.

I thought of this because the Origin 7.5 Release AppWizard asked for Script Name even when using Origin C but we fixed that in Origin 7.5 SR2 (which is why I asked above to make sure you had updated after patching...maybe problem is that file did not get patched correctly).

In any case I will send you by email the correct ODialog.awx file and put it up on our file exchange as well for other users if that is the problem.

Let me check.

Gary
OriginLab

Gary Lane Posted - 03/23/2004 : 11:53:57 AM
Hi Hajo,

With minor exceptions there is no longer any need to use LabTalk when controlling a Dialog Builder dialog...that means in most cases no more String Table and no more LabTalk (Script) Name! I hope that is good news for you...I really like it as I long struggled with String Tables.

Note: Bitmap toolbar buttons and some of the more obscure string table options still require a string table and LabTalk control but they will eventually be replaced as well (most likely in OriginPro 8).

Gary
OriginLab

hajo_old Posted - 03/23/2004 : 11:31:55 AM
Hello, Gary

thanks for pointing out the issues ...

Did I get you right, that ther's no need to apply a "Script Name" as my development language is OriginC, not LabTalk??

As I know the wizzard I used is from the 7.5R817 build ant therfor up to date, as I moved the AWX file aftre installation of the SR2 Update to the VC folder ...

Thanks
Hajo

-- --
Dipl.-Ing. Hans-Joerg Koch
Siemens VDO, Regensburg

SVDO_Origin1 is now hajo
Gary Lane Posted - 03/23/2004 : 11:24:59 AM
Hi Hajo,

Thanks for the report. I just tested the Dialog Builder (DB) AppWizard shipped with Origin 7.5 SR2 and it seems to work OK for me. When creating a wizard using the Origin C programming language the fourth page of the DB AppWizard asks for Origin C Name and when using the LabTalk scripting language the fourth page of the DB AppWizard asks for LabTalk Name. I suspect the problem may be that you need to update the DB AppWizard file (ODialog.awx) in the MS Visual Studio folder. To do this:

1. Close MS Visual C++.
2. Copy (re-copy after installing Origin 7.5 SR2) the file ODialog.awx from the \ATI\Dialog Builder subfolder of OriginPro to the \Common\MSDev98\Template subfolder of Microsoft Visual Studio.

This process is documented in the Origin 7.5 SR2 Programming help file under the topics Programming Guide>User-Interface Development with OriginPro>Creating Complex Dialogs and Wizards with Dialog Builder>Tutorial Create a "Hello World" Dialog and >Creating a Microsoft Visual C++ Resource-only DLL. In particular, see the topic Specifying Tab (Page) Captions, IDs, and Names.

Origin C programming language control of Dialog Builder is covered and not LabTalk Scripting control because Origin C is the new and developing language supported by Origin. LabTalk scripting control of Dialog Builder is still supported and included as it was in Origin 7.0 but we documented only Origin C control in Origin 7.5 to steer new users toward Origin C.

Several programming examples for different types of controls and dialogs are also provided in the \Samples\Programming\User Interface Development\Dialog Builder subfolder of OriginPro. These examples are refered to in the Help file and discussion should be expanded in the Origin 7.5 SR3 release.

Please let me know if the above information does not solve the problem you reported above.

Gary
OriginLab


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000