IRsoft - Software and more by Ingmar Runge

Delphi Dialog Resource Wrapper

During the development of my Trillian Plugins, I came across a lot of dialog templates, stored in dialog resources and loaded through CreateDialog or DialogBox. As this always came with a lot of fuss and inconveniences, I created a set of wrapper classes around those dialogs and commonly used controls.

Currently, there is no documentation available. Not even examples. I hope to make up for that in the future.

Classes

The two main classes are TInlineDialog and TPopupDialog. If you want to create a new dialog, you have to derive a new class from one of those classes.

The next step is to add a member variable for each control and to overload the constructor. Do not forget to call the inherited constructor in your new one before you create class instances for your controls.

Currently Available Controls

  • Button
  • Checkbox
  • Radio Button (but no Radio Groups so far)
  • Text Box
  • List Box
  • Combo Box
  • List View (Common Control)

The class interfaces are not VCL compatible. They are intended to be used in nonVCL applications and to be very slim. They are also designed to be extended in a very easy fashion. Each control and each dialog can easily intercept any Windows message and process it on its own.

Contributing

Currently, the class set only has a limited feature set. As the source code is distributed under a BSD style license, you are invited and very welcome to contribute and to extend the project with new controls, new functions and so on!

Download

Download here

Updated: July 26th 2006

Last edited by Ingmar on Wednesday, July 26th 2006 13:16:28 CEST