|
Windows
API
|
| Title: |
32-Bit
Windows Base APIs [Download
WinBase] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.11.28 |
| Description: |
Contains
winbase.h API functions, constants and structures. |
| Functions: |
CopyFile,
FileTimeToSystemTime, FormatMessage, GetCommandLine, GetLastError,
GetLocalTime, GetSystemTime, GlobalAlloc, GlobalFree,
GlobalLock, GlobalSize, GlobalUnlock, LStrlen,
MoveMemory, MoveMemoryIntStr, SystemTimeToFileTime,
WritePrivateProfileString, WriteProfileString, |
| Structures:
|
FileTime,
SystemTime |
|
| Title: |
Windows User Procedure Declaration
[Download WinUser] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.11.28 |
| Description: |
Contains
winuser.h API functions, constants and structures. |
| Functions: |
BeginPaint,
CloseClipboard, CreateMenu, DefWindowProc, DestroyMenu,
DrawMenuBar, EndPaint, GetClassLong, GetClientRect,
GetClipboardData, GetDC, GetKeyState, GetMenu,
GetMenuItemCount, GetMenuString, GetParent, GetSubMenu,
GetSystemMetrics, GetWindow, GetWindowDC,
GetWindowLong, GetWindowPlacement, GetWindowRect,
InvalidateRect, keybd_event, LVColumn, MapVirtualKey,
MoveWindow, OpenClipboard, PaintStruct, PropParam,
RedrawWindow, ReleaseDC, RemoveMenu, SendMessage,
SetMenu, SetParent, SetPropLParamRCur,
SetPropLParamRLng, SetPropLParamRStr,
SetPropLParamVStr, SetPropWParamRCur,
SetPropWParamRLng, SetPropWParamRStr,
SetPropWParamVStr, SetWindowLong, SetWindowPlacement,
SetWindowPos, SetWindowPosFrameChanged, ShowWindow,
ShowWindowMaximizedLng, ShowWindowMaximizedWnd,
ToggleKeyState, UpdateWindow, WindowPlacement
|
| Structures:
|
PaintStruct,
WindowPlacement
|
|
| Title: |
Interface
for the Windows Common Controls [Download
CommCtrl] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.12.13 |
| Description: |
Contains
commctrl.h API functions, constants and
structures.
|
| Structures: |
LVColumn, TVItem |
|
| Title: |
GDI
procedure declarations, constant definitions and
macros [Download
WinGDI] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.11.28 |
| Description: |
Contains
wingdi.h API functions, constants and
structures.
|
| Functions: |
GetBkColor,
SetBkColor, GetTextColor, SetTextColor, TextOut |
|
| Title: |
Basic
Windows Type Definitions [Download
WinDef] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.11.28 |
| Description: |
Contains
windef.h API functions, constants and
structures.
|
| Functions: |
LoWord,
HiWord, MakeLong
|
| Structures: |
Rect, Point |
|
| Title: |
Special
DLL routines [Download
DLLRtn] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.11.28 |
| Description: |
Contains
Routines that might be used by functions in
WinBase.API, WinUser.API, CommCtrl.API, WinGDI.API and
WinDef.API.
|
| Routines: |
NullTerminate,
NullRemove, LngSetPropEnabled, LngGetPropEnabled |
|
| Title: |
All
Window API routines [Download
AllWin] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.12.13 |
| Description: |
Contains
WinBase.API, WinUser.API, CommCtrl.API, WinGDI.API and
WinDef.API.
|
|
| Title: |
Clipboard routines [Download
Clip] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.03.08 |
| Description: |
Allows
multiple records to be written to the clipboard, which
then can be pasted into another application (i.e.
Spreadsheet, word processor, etc.). |
| Routines: |
AppendRStr,
AppendVStr, AppendRCur, Set |
|
| Title: |
WinINet
Demonstration [Download
browser] |
| Author: |
Brian
Jackson
(Adjacency
Consulting Group) |
| Posted: |
2000.12.19 |
| Description: |
This
is a PL/B program which uses the Windows Internet
Transfer Controls (WinINet) to download documents from
the Internet. |
|
|
Misc.
|
| Title: |
PLBEqu
& PLBMeth using Defines [Download
PLBEMD] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.11.28 |
| Description: |
Sunbelt has
made using GUI objects easier by supplying PLBEQU.INC
and PLBMETH.INC (Located in directory \subelt\code).
Both of these includes contain Keywords that can be
used in place of a Number Values for Object
Properties. (i.e. the object EDITTEXT has a property
ALIGNMENT, which can be initialized with number values
0,1,2,3 or, if PLBEQU.INC is included, keywords $NONE,
$CENTER, $LEFT, $RIGHT) Using keywords instead of
number values makes the code easier to read. (i.e.
Reading ALIGNMENT=$LEFT is clearer than ALIGNMENT=2).
Most of these keywords (or variables) were initialized
using INTEGER, CONST or EQU. When a variable is
initialized using INTEGER or CONST it is placed in the
User Data Area (UDA), which makes the program bigger.
Using EQU or DEFINE does not take up UDA. Instead
there is a replacement done at compile time for the
value. (i.e. if $LEFT is coded ‘$LEFT DEFINE 2’
and the compiler sees ALIGNMENT=$LEFT it will do a
replacement on $LEFT, which makes the line compile up
as ALIGNMENT=2)
Some preliminary findings show that the DEFINE verb
can be used in place of CONST, INTEGER and EQU.
PLBEMD.ZIP has includes PLBEquD.INC and PLBMethD.INC,
which only use the DEFINE verb. Since DEFINE does not
get compiled into the UDA, the program size is
smaller. Also any new keywords added in the future
will not increase the program size. (Note: The D is
placed at the end of the name to make them different
from Sunbelt's includes.) DEFINE was chosen over EQU
because EQU only supports values ranging from 0 to
65535. DEFINE does not have a limitation and can also
handle negative numbers. When compiling up programs
with these includes the .PLC size were about 1,200
bytes smaller. |
|
| Title: |
DateDiff
Load Module [Download
DateDiff] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.04.20 |
| Description: |
Returns
the number of seconds between two date/times. |
|
| Title: |
GETINFO
Wrappers [Download
INFO] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.11.28 |
| Description: |
The GETINFO
wrappers InfoExc.inc, InfoFont.inc, InfoPFil.inc and
InfoSys.inc allow for common variables for certain
GETINFO's structure and gives the ability to change these
structures easily. |
|
| Title: |
CLOCK
Wrappers [Download
ClockAll] |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Posted: |
2000.04.20 |
| Description: |
CLOCK
wrappers for INI/ENV (ClockIE.lm), PORT (ClockPor.inc),
SYSPORT (ClockSyP.inc), VERSION (ClockVer.inc), and
WINDOW (ClockWin.inc). These includes allow for common variables
to be used for certain CLOCK structures and gives the ability to change these
structures easily. |
|
| Title: |
LoadMod
to move a Treeview branch [Download
MoveTree] |
| Author: |
Matthew
Lake
(Sunbelt
Computer Systems, Inc.) |
| Posted: |
2000.12.08
[Original
mvtree] |
| Description: |
A
loadmod that will move entire branches (up to 6
levels) within a treeview. |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Revised: |
2000.12.15 |
| Description: |
Changed
from moving only 6 branch levels to all branch levels.
This was done by using a LOOP instead of 6 levels of
nested IF's.
Changed the name from mvtree.PLS to MoveTree.LM.
.LM is a standard we use for loadmod. We developed a
program similar to the WorkShop. It compiles the
program then runs it. We us the .LM as a flag to NOT
run the program after it was compiled. It is also nice
to be able to do a "DIR *.LM" and find
all the loadmods.
Changed the parameter order from: "Treeview, To,
From" to "Treeview, From, To". This is
the order of the PL/B MOVE verb.
Added PLBMethD.INC so constants TVI_LAST, TVGN_CHILD,
TVGN_NEXT and TVGN_PARENT could be used as defined in
PLB.HLP. Since PLBMethD.INC uses the DEFINE verb to
initialize all variables, the size of the UDA is not
increased. |
|
| Title: |
TreeView
hittest loadmod [Download
tvht_1] |
| Author: |
Matthew
Lake (Sunbelt
Computer Systems, Inc.) |
| Posted: |
2000.12.08
[Original
tvht] |
| Description: |
This loadmod
returns the handel of the item clicked on in a
treeview object |
| Author: |
Gerhard Weiss
(BeneSys, Inc.) |
| Revised: |
2000.12.13 |
| Description: |
Added
SendMessage routine from WinUser.API and TVHITTESTINFO
structure from CommCtrl.API. |
|
| Title: |
Text
file printer for windows [Download
PRT] |
| Author: |
Matthew
Lake
(Sunbelt
Computer Systems, Inc.) |
| Posted: |
2000.12.08 |
| Description: |
Contains a
loadmod that is a GETINFO wrapper for printers and
fonts. Unfortunately it still needs work but is pretty
close for ink jet and laser printers. |
|
| Title: |
Simple
Pie Chart [Download
PI] |
| Author: |
Matthew
Lake
(Sunbelt
Computer Systems, Inc.) |
| Posted: |
2001.03.02 |
| Description: |
This
program is intended to get you started on drawing pie
charts. It is functional and will draw up to 100
slices. A person who wishes to use this will need to
implement stuff like colors and labels as all this
does is draw the base chart. The circle is drawn using
100 calculated points and uses line objects to connect
them to form the circle along with the slice edges.
Resource(s): High school math book :o) .oO(good ol'
geometry) |
|
| Title: |
Data
Designer [Download
DataDesigner] |
| Author: |
Stuart
Elliott (7th
Judicial Circuit of Missouri)
|
| Posted: |
2001.04.20 |
| Description: |
Enter
field information (label, type, size, array, keys
& comments) and this program will create your
record layout & I/O routine include files as well
as a batch file to index the data file. Includes
modification history & free-form notes. Resources:
This program uses only Sunbelt supplied resources
(including plbequ.inc & plbmeth.inc) with the
exception of the "Microsoft Rich Textbox Control
6.0 (SP3)". |
|
|