PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: dCipher Computing on May 07, 2012, 05:38:00 PM

Title: How to Create My own Custom Controls?
Post by: dCipher Computing on May 07, 2012, 05:38:00 PM
Hi

I am wondering how I would create my own custom controls and have them available in the Visual Designer.

Thanks,
Simon
Title: Re: How to Create My own Custom Controls?
Post by: Paul Squires on May 07, 2012, 06:45:23 PM
Are you able to create controls using the WinAPI from scratch? Take a look at the source code for the various custom controls in the PlanetSquires subfolder in the CustomControls folder. I supply source code for all of my custom controls. That code will provide you with a good template for creating a custom control. Once you have your control working as a DLL then you need to interface it to FireFly using a special file. These are simple text files with an *.ctl extension. In there you define the properties and methods to make the control work. That is the hardest part of the process and the part that I would need to help you with.