Re: Slippery window styles

new topic     » topic index » view thread      » older message » newer message

On the topic of various win32lib problems:


One way around the problem is to create your own *private* version of
win32lib which you can troubleshoot yourself and update as you see fit.
It takes a little longer at first because you have to look a lot of
things up, but once you get something working, its working forever and
not subject to random updates of who ever happens to be managing
at the time.  Also, you then have 'hands on' experience with the file, so
if any problem does come up you usually know where to go to fix it.
I did this myself a long time ago, and i have implemented drag and drop
win98 style back some time ago, but then the official win32lib version
changed in its manner of implementing the tree view and a number of other
problems with it surfaced making it require a different approach for
drag and drop. Also, it just takes too long sometimes to convey the problems
that come up with it so its faster to implement your own version.
My preference is to have all the constants in one file, with different
'classes' implemented as separate files as well, sort of C style, sort
of like winmania is attempting.

One BIG advantage of this method is that multiple users can then contribute
classes as independent works, which immediately solves multiple problems
such as one or two people having to do all the work, difficulty maintaining
the library, extreme (and growing) file size, to name just a few.  In
effect we are reliving the computer science evolution as Win32lib
approaches critical mass. Sooner or later people get tired of maintaining a
hugh file all by themselves, with unforseen problems springing up all the
time.
With 'classes' or simply include files for different things the work load
can be distributed among several programers, whoever wants to wrap a given
object.  If a problem comes up, its confined to the single much smaller
file.  Also, this means multiple implementations are possible as well,
making it possible for users to 'customize' their class implementation
according to their exact needs.

The only advantage of having it all in one big file is that beginners can
download a single file and have lots of functionality right away, but
if there was a way to make it easier for people to download a set of
files and have that same simplicity, i think that would solve that problem.
Maybe this deserves some thought.

Think about it.

--Good luck with all your projects,
--Al

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu