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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 wrong loading of dll
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Malab

Germany
19 Posts

Posted - 08/06/2002 :  09:07:43 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I designed a wizard with the dialog builder of the version 7 German SR1! I compiled it and load it with the labtalk comand:
dialog.start(wizard.dll,wizard);

That was ok!

Afterwards I changed the size of the wizard in Visual C and compiled again. Now the wizard is load with the same size as I compiled it first. The borders are cut and I can not work with this recource because some parts are not shown.
I tried to resize it once again but it always starts with the same size! I also have this problem with other resources!

rdremov

USA
28 Posts

Posted - 08/06/2002 :  10:38:23 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It is a known problem (QA70-2416). If you launched a DDK dialog at least once it will save dialog's position and size into Origin.ini.
Later even if you will resize and re-compile your dialog it will still be using the old size. You need to manually remove the entry of your dialog size and position from Origin.ini, search for [DBWINPOS] section. This is a bug since many dialogs are not resizable by design.

Roman.
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 08/07/2002 :  3:37:29 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The section titled "Updating DB dialog sizes" at labtalk.nmrtools.com gives a simple method for updating Origin.ini automatically. Just incorporate the scripts into a macro or button and execute before you run your modified dialog.

Mike Buess
Origin WebRing Member
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000