1. Win32Lib: some "add-on" html documentation : "synopsis"

------=_NextPart_000_0021_01BF3EB6.7D18A3C0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

David,
=20
Adding "multiple windows" to your IDE sure makes a world of difference!! =
 Nice going!
=20
Being a perpetual newbie/dilettante, I still find myself making constant =
"external" reference to all the documentation I can find, including your =
html doc & Wolfgang & Ad's Tutorial (which now lacks the "Synopsis" =
which I really liked).   So I took your html doc & abstracted a bunch of =
stuff up into a "Synopsis" section (with the eventual intention of =
amending your IDE to jump from the code editor (by right click) into =
your html doc with my abstracted synopsis "top end", like their Tutorial =
does.  That would put the info I usually need just one mouse click away =
while using your IDE.).

  Below is a copy of what I did, in case anyone else might find it =
useful.  It goes in right after <body> in your html doc.  I did change & =
add a little to what I abstracted, so if I introduced errors, =
inaccuracies, or confusion, I hope someone will let me know. =20
=20
Dan Moyer=20
=20
<h1><a name=3D"SYNOPSIS"></a>SYNOPSIS of <a =
href=3D"#INTRODUCTION">Win32Lib</a> Documentation:</h1>
<p><h3> CORE CONCEPTS:</h3>
<li> <a href=3D"#CONTROL">CONTROLS</a>
are the basic visual & useable elements of Windows programs. They are =
what you see, act upon, or set to perform actions. You can=20
<a href=3D"#CREATE">create</a> them, query and change their <a =
href=3D"#ATTRIBUTE">Attributes</a>, and respond to=20
<a href=3D"#EVENT">Events</a> which happen to them.
<li><a href=3D"#ATTRIBUTE">ATTRIBUTES of Controls</a>:=20
Controls can have a variety of properties, such as size, font size, etc.
Various routines let you inspect and alter attributes of=20
controls.
<li> <a href=3D"#EVENT">EVENTS</a>: Windows programming consists of =
writing routines to respond to various events, such as actions taken=20
by the user of the application - mouse clicks, key presses, resizing=20
windows, and so on.
<li> <a href=3D"#WINMAIN">MAIN EVENT LOOP</a>
: WinMain is the main processing loop for Win32Lib. You call WinMain at =
the very end of your program, after all the controls have been declared =
to run in the event loop, and after all the routines you have written to =
handle all of the events you want to respond to in your program.
<p><hr>
<p><h3>WIN32LIB ROUTINES CATEGORIES:</h3>
<li> <a href=3D"#DIALOG">DIALOGS</a>
These are functions that bring up common dialogs.
<li> <a href=3D"#EDIT CONTROL">EDIT CONTROL</a>
These are routines that let you inspect and alter attributes of=20
the text edit controls
<li> <a href=3D"#FONT">FONTS</a>
These routines allow you to work with text graphics: displaying text,=20
changing the font, and so on.
<li> <a href=3D"#GRAPHIC">GRAPHICS</a>
These are routines that allow you to draw on controls, typically=20
a <a href=3D"#WINDOW">Window</a>, <a href=3D"#PIXMAP">Pixmap</a> or <a =
href=3D"#PRINTER">Printer</a>.
<li> <a href=3D"#LIST CONTROL">LIST CONTROLS</a>
These are routines that let you inspect and alter attributes of=20
controls with lists
<li> <a href=3D"#LOW LEVEL ROUTINE">LOW LEVEL ROUTINES</a>
These routines give you access to C data structures, the device context, =

and other Win32 API goodies
<li> <a href=3D"#PRINTING">PRINTING</a>
These are routines that allow you to interact with the <a =
href=3D"#PRINTER">Printer</a>
<li> <a href=3D"#SCROLL CONTROL">SCROLL CONTROLS</a>
These routines let you inspect and alter attributes of the scroll=20
bar controls <a href=3D"#HSCROLL">HScroll</a> and <a =
href=3D"#VSCROLL">VScroll</a>
<li> <a href=3D"#UTILITIE">UTILITIES</a>
These are routines that didn't seem to fit in any other category.
<li> <a href=3D"#XPM">XPM</a>
These routines deal with a portable graphics file format called XPM -=20
"X Pixmap". XPM graphics can be embedded in programs as text data.
<hr>
<p><h3>WIN32 DATA TYPES:</h3>
<li> <a href=3D"#TYPE">DATA TYPES</a>:
These are data types defined by Win32Lib.
<p>
<hr><hr>
<h1><a name=3D"INTRODUCTION">Win32Lib INTRODUCTION:</a></h1>
<strong>WHAT IS IT?</strong><br>
Win32Lib is a toolkit for coding applications in Euphoria without having =
to learn the many intricacies of Win32. It is based loosely around =
Visual Basic.
<p><strong>WHAT DOES IT COST?</strong><br>
Win32Lib is FREEWARE, but if you develop applications in it, I ask that:
<ol><li>I receive credit for Win32Lib. This means inclusion of the =
following (or similar text) in an "About" box, located in the "Help" =
menu option:<br>
"Developed using David Cuny's Win32Lib"
<li>I receive a full, registered version of the application.
</ol>
<strong>DISCLAIMER:</strong><br>=20
This program is distributed in the hope that it will be useful, but=20
WITHOUT ANY WARRANTY; without even the implied warranty of =
MERCHANTABILITY=20
or FITNESS FOR A PARTICULAR PURPOSE.
=20
<p> I do not accept responsibility for any effects, adverse or =
otherwise,
that this code may have on you, your computer, your sanity, your dog,
and anything else that you can think of. Use it at your own risk.
<p><hr><hr>

=20
=20

------=_NextPart_000_0021_01BF3EB6.7D18A3C0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 =
HTML//EN">
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 face=3D"Times New Roman">David,</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Times New Roman">Adding &quot;multiple windows&quot; =
to your=20
IDE sure makes a world of difference!!&nbsp; Nice going!</FONT></DIV>
<DIV><FONT face=3D"Times New Roman"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Times New Roman">Being a perpetual newbie/dilettante, =
I still=20
find myself making constant &quot;external&quot; reference to all the=20
documentation I can find, including your html doc &amp; Wolfgang &amp; =
Ad's=20
Tutorial (which now lacks the &quot;Synopsis&quot; which I really=20
liked).&nbsp;&nbsp; So I took your html doc &amp; abstracted a bunch of =
stuff up=20
into a &quot;Synopsis&quot; section (with the eventual intention of =
amending=20
your IDE to jump from the code editor (by right click) into your html =
doc with=20
my abstracted synopsis &quot;top end&quot;, like their Tutorial =
does.&nbsp; That=20
would put the info I usually need just one mouse click away while using =
your=20
IDE.).</FONT></DIV>
<DIV><FONT face=3D"Times New Roman"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Times New Roman">&nbsp; Below is a copy of what I =
did, in case=20
anyone else might find it useful.&nbsp; It goes in right after =
&lt;body&gt; in=20
your html doc.&nbsp; I did change &amp; add a little to what I =
abstracted, so if=20
I introduced errors, inaccuracies, or confusion, I hope someone will let =
me=20
know.&nbsp; </FONT></DIV>
<DIV><FONT face=3D"Times New Roman"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Times New Roman">Dan Moyer&nbsp;</FONT></DIV>
<DIV><FONT face=3D"Times New Roman"></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>&lt;h1&gt;&lt;a=20
name=3D&quot;SYNOPSIS&quot;&gt;&lt;/a&gt;SYNOPSIS of &lt;a=20
Documentation:&lt;/h1&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>&lt;p&gt;&lt;h3&gt; CORE=20
CONCEPTS:&lt;/h3&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>are the =
basic visual=20
&amp; useable elements of Windows programs. They are what you see, act =
upon, or=20
set to perform actions. You can </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;a=20
href=3D&quot;#CREATE&quot;&gt;create&lt;/a&gt; them, query and change =
their &lt;a=20
href=3D&quot;#ATTRIBUTE&quot;&gt;Attributes&lt;/a&gt;, and respond to=20
</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;a=20
href=3D&quot;#EVENT&quot;&gt;Events&lt;/a&gt; which happen to =
them.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>&lt;li&gt;&lt;a=20
href=3D&quot;#ATTRIBUTE&quot;&gt;ATTRIBUTES of Controls&lt;/a&gt;: =
</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>Controls =
can have a=20
variety of properties, such as size, font size, etc.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>Various =
routines let you=20
inspect and alter attributes of </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>controls.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
href=3D&quot;#EVENT&quot;&gt;EVENTS&lt;/a&gt;: Windows programming =
consists of=20
writing routines to respond to various events, such as actions taken=20
</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>by the user =
of the=20
application - mouse clicks, key presses, resizing </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>windows, =
and so=20
on.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
href=3D&quot;#WINMAIN&quot;&gt;MAIN EVENT LOOP&lt;/a&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>: WinMain =
is the main=20
processing loop for Win32Lib. You call WinMain at the very end of your =
program,=20
after all the controls have been declared to run in the event loop, and =
after=20
all the routines you have written to handle all of the events you want =
to=20
respond to in your program.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman"=20
size=3D3>&lt;p&gt;&lt;hr&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman"=20
size=3D3>&lt;p&gt;&lt;h3&gt;WIN32LIB ROUTINES =
CATEGORIES:&lt;/h3&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>These are =
functions that=20
bring up common dialogs.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
href=3D&quot;#EDIT CONTROL&quot;&gt;EDIT CONTROL&lt;/a&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>These are =
routines that=20
let you inspect and alter attributes of </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>the text =
edit=20
controls</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>These =
routines allow you=20
to work with text graphics: displaying text, </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>changing =
the font, and so=20
on.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>These are =
routines that=20
allow you to draw on controls, typically </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>a &lt;a=20
href=3D&quot;#WINDOW&quot;&gt;Window&lt;/a&gt;, &lt;a=20
href=3D&quot;#PIXMAP&quot;&gt;Pixmap&lt;/a&gt; or &lt;a=20
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
href=3D&quot;#LIST CONTROL&quot;&gt;LIST CONTROLS&lt;/a&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>These are =
routines that=20
let you inspect and alter attributes of </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>controls =
with=20
lists</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
href=3D&quot;#LOW LEVEL ROUTINE&quot;&gt;LOW LEVEL =
ROUTINES&lt;/a&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>These =
routines give you=20
access to C data structures, the device context, </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>and other =
Win32 API=20
goodies</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>These are =
routines that=20
allow you to interact with the &lt;a=20
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
href=3D&quot;#SCROLL CONTROL&quot;&gt;SCROLL =
CONTROLS&lt;/a&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>These =
routines let you=20
inspect and alter attributes of the scroll </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>bar =
controls &lt;a=20
href=3D&quot;#HSCROLL&quot;&gt;HScroll&lt;/a&gt; and &lt;a=20
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>These are =
routines that=20
didn't seem to fit in any other category.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>These =
routines deal with=20
a portable graphics file format called XPM - </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&quot;X =
Pixmap&quot;. XPM=20
graphics can be embedded in programs as text data.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>&lt;hr&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>&lt;p&gt;&lt;h3&gt;WIN32=20
DATA TYPES:&lt;/h3&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt; =
&lt;a=20
href=3D&quot;#TYPE&quot;&gt;DATA TYPES&lt;/a&gt;:</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>These are =
data types=20
defined by Win32Lib.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>&lt;p&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman"=20
size=3D3>&lt;hr&gt;&lt;hr&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>&lt;h1&gt;&lt;a=20
name=3D&quot;INTRODUCTION&quot;&gt;Win32Lib=20
INTRODUCTION:&lt;/a&gt;&lt;/h1&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>&lt;strong&gt;WHAT IS=20
IT?&lt;/strong&gt;&lt;br&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>Win32Lib is =
a toolkit for=20
coding applications in Euphoria without having to learn the many =
intricacies of=20
Win32. It is based loosely around Visual Basic.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman"=20
size=3D3>&lt;p&gt;&lt;strong&gt;WHAT DOES IT=20
COST?&lt;/strong&gt;&lt;br&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>Win32Lib is =
FREEWARE, but=20
if you develop applications in it, I ask that:</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>&lt;ol&gt;&lt;li&gt;I=20
receive credit for Win32Lib. This means inclusion of the following (or =
similar=20
text) in an &quot;About&quot; box, located in the &quot;Help&quot; menu=20
option:&lt;br&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>&quot;Developed using=20
David Cuny's Win32Lib&quot;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;li&gt;I =
receive a=20
full, registered version of the application.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3>&lt;/ol&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman"=20
size=3D3>&lt;strong&gt;DISCLAIMER:&lt;/strong&gt;&lt;br&gt; =
</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>This =
program is=20
distributed in the hope that it will be useful, but </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>WITHOUT ANY =
WARRANTY;=20
without even the implied warranty of MERCHANTABILITY </FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>or FITNESS =
FOR A=20
PARTICULAR PURPOSE.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" =
size=3D3></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>&lt;p&gt; I =
do not accept=20
responsibility for any effects, adverse or otherwise,</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>that this =
code may have=20
on you, your computer, your sanity, your dog,</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman" size=3D3>and =
anything else that=20
you can think of. Use it at your own risk.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman"=20
size=3D3>&lt;p&gt;&lt;hr&gt;&lt;hr&gt;</FONT></FONT><FONT =
color=3D#000000=20
face=3D"Times New Roman" size=3D3></FONT></DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"Times New Roman"></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000=20

------=_NextPart_000_0021_01BF3EB6.7D18A3C0--

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu