PDA

View Full Version : Question: UIAdv module



ErosOlmi
22-04-2009, 22:41
For those of you who follows module development here in thinBasic and also follows José Roca forum, I have a question to ask.

We developed UI module using standard WIN32API file from Power Basic Inc.

We recently added WebBrowser module and in the recent past we also released UI_ImageCtx module.
Both of those two modules use José Roca header files for PowerBasic http://www.jose.it-berater.org/smfforum/index.php?topic=3089.0

José headers are incompatible with standard PowerBasic WIN32API headers and that's why we have developed WebBrowser and UI_ImageCTX modules separately.
Because I want to take advantages of new José headers but at the same time I do not want to create a new module for every new control I will add, I would like to create a just one unified module called something like "UIAdv" where to put all together controls like WebBrowser, ImageCTX and all other controls I will add in future and delete current thinBasic_WebBrowser.dll and thinBasic_UI_ImageCtx.dll

What do you think?
Thanks a lot
Eros

kryton9
23-04-2009, 04:00
I say anything that makes life easier is good. I also think not having many modules doing similar things is great because it gets confusing on which to use, which is better? So I definitely think unifying 3 modules into one will be a great idea!

Petr Schreiber
23-04-2009, 18:47
Hi Eros,

definitely good idea to use Josés gems.

I only found out one thing against doing UIAdv with all functions inside - this DLL will grow, so scripts using just one control from that will become bigger when bundled.

I was playing with the idea of one special control per DLL, with few extra core functions allowing third party developers to create control which will be able to react to CONTROL ... commands. But that is run on longer track.


Petr