Stephan wrote:
As the header says, how do I know what's available? For example, the
ListView control has "singlesel", "hottrack", etc. Where are these documented?
There are a few ways to answer this, none of them really good.
a) In the docs. There are number of pod/html files included in the source
distribution at SouceForge[1]. I don't know if they are included in the PPM
module yet. The documentation is however incomplete.
<plug>
I have also included (and I hope that's ok, but it guess it is) the docs in
The GUI Loft[2] for easy reference from within the program (with control
sensitive help as well).
</plug>
b) In the sample apps included in the source distro. Few things beat
learning by example. The examples are however incomplete. The upside: this
is working code (mostly).
c) In the GUI.xs file from the source distro. Search for an "-optionname"
you already know and do some code walking. You'll figure it out. This is
the source. It is complete :)
d) The Win32 API docs[3]. When you find a [TBD] in the Win32::GUI docs,
it's often possible to find stuff here which will help you along. It also
contains basic information about a lot of Win32 stuff that is useful to
know when you write Windows programs. Don't assume that you _don't_ need to
know this.
e) The GUI Loft[2] is pretty much feature complete when it comes to
supported options. Check the Properties window for a selected control, but
keep in mind that The GUI Loft controls sometimes support more properties
than what's available as -options in Win32::GUI.
/J
[1] <http://sourceforge.net/projects/perl-win32-gui>
[2] <http://www.bahnhof.se/~johanl/perl/Loft/>
[3]
<http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/psdkref/catfunc_26m1.htm>
------ ---- --- -- -- -- - - - - -
Johan Lindström Boss Casinos
Sourcerer [EMAIL PROTECTED]
http://www.bahnhof.se/~johanl/
If the only tool you have is a hammer,
everything tends to look
like a nail