Dec 132017
 
WEDL - the Windows Enhanced Dialog Library. WEDL is a collection of C functions for Microsoft Windows programmers designed to make dialog box data entry much easier for both the programmer and the user.
File WEDL.ZIP from The Programmer’s Corner in
Category C Source Code
WEDL – the Windows Enhanced Dialog Library. WEDL is a collection of C functions for Microsoft Windows programmers designed to make dialog box data entry much easier for both the programmer and the user.
File Name File Size Zip Size Zip Type
DEMO.BMP 61718 6495 deflated
DEMO.C 37815 7317 deflated
DEMO.DEF 703 296 deflated
DEMO.EXE 93184 21574 deflated
DEMO.H 2029 538 deflated
DEMO.ICO 766 174 deflated
DEMO.RC 9700 2016 deflated
DEMOBWCC.EXE 94924 21405 deflated
DEMOBWCC.RC 10513 2086 deflated
DEMOBWCE.MAK 2457 592 deflated
DEMOE.MAK 2335 571 deflated
DEMOHELP.H 696 208 deflated
DEMOHELP.HLP 4680 1660 deflated
DEMOHELP.HPJ 765 239 deflated
DEMOHELP.RTF 6700 1104 deflated
DEMOTPW.PAS 19860 4004 deflated
DEMOTPW.RES 1768 785 deflated
ORDER.DOC 2907 1008 deflated
READ.ME 3081 1126 deflated
WEDL.DOC 149089 25711 deflated
WEDL.H 19169 3933 deflated
WEDL2E.DLL 34464 20345 deflated
WEDL2E.LIB 5632 1388 deflated
WEDLE.PAS 13214 2488 deflated

Download File WEDL.ZIP Here

Contents of the READ.ME file



+----------------------+
| WEDL Release Notes |
+----------------------+


2.04 - September 3, 1992
------------------------

* Fixed bug introduced in 2.01.


2.03 - July 30, 1992
--------------------

* Minor enhancements and bug fixes.


2.02 - July 22, 1992
--------------------

* Fixed bug that caused WEDL to require the SHELL.DLL library in order
to run on Windows 3.0 systems.

* A default error message will be displayed if an external error was not
handled by the external (programmer-written) error handler.


2.01 - June 30, 1992
--------------------

* Improved display speed.

* Fixed numeric field bug.

* New form feature - FMF_COMPAT. Windows compatibility feature. If a
newer version of Windows comes out, this feature may need to be
specified for compatibility.


2.00 - May 1, 1992
------------------

* Windows 3.1 compatibility.

* Improved field validation capabilities.

* Ability to handle internal WEDL errors (eg. Field Cannot Be Blank).

* Expanded context-sensitive help. Forms can now have a default help
context for controls without an individual help context.

* Support for drag and drop. Fields can accept drag and drop file
names from File Manager. (On systems with Windows 3.1+ only)

* Enable-links. Provide for automatic enabling/disabling of controls
based upon the condition of a field or button.

* Improved numeric data entry.

* 3-Level Undo in fields.

* Ability to select text within a field.

* Improved clipboard support.

* Improved international support.

* Turbo Pascal for Windows support.

* Support for Borland's BWCC.DLL custom control library.


Using WEDL with C++ and OWL:
----------------------------

Create a derived class from OWL's TDialog class:

class TMyDialog : public TDialog {
public:
.....
private:
HFORM hform; // WEDL's form handle
}

Define the form during the TMyDialog::SetupWindow virtual function:

void TMyDialog::SetupWindow()
{
TDialog::SetupWindow(); // initialize base class
hform = form_begin( HWindow, ... );
// do all WEDL definitions (field_define, button_define, etc.)
form_end( hform );
}

Save the form during the TMyDialog::CanClose virtual function:

BOOL TMyDialog::CanClose()
{
if( form_validate( hform ) != NULL ) return( FALSE );
form_save( hform );
return( TRUE );
}

Terminate the form during the TMyDialog::Destroy virtual function:

void TMyDialog::Destroy( int return_value )
{
form_cancel( hform );
TDialog::Destroy( return_value );
}



 December 13, 2017  Add comments

Leave a Reply