[fpc-pascal]Windows programming strategies....
L D Blake
ldblake at sympatico.ca
Sat Aug 2 19:43:06 CEST 2003
In the process of learning about windows programming in FP I've been looking
at a lot of source code (some of which reads like Klingon secret code) and I'm
beginning to wonder if there is a general strategy for programs that use
multiple pop up windows performing different functions like setting options,
editing lists, managing queues, etc.
1) Are windows programs generally constructed around a single core window and
then everything else is dialogs or is it customary to create several windows
2) Should I create windows on the fly, putting registration, creation etc into
the a procedure so that when I click a button to open the window it's created
and destroyed by the one procedure -- or -- should I register and create all
my windows at program startup and just use the show/hide calls to make them
visible/invisible as needed?
Or... are there basically no "rules" about this?
L D Blake
More information about the fpc-pascal