WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

How To
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

How to Locate Functions In Helpfiles

 Keywords: Box Service Commands 

There are several products that use the WIL functions. The Windows Interfance Language Reference Manual / Windows Interface Language.hlp are distributed with these products. This requires us to keep the Windows Interfance Language function documentation separate from the functions and utilities that are unique to WinBatch.

All of the functions and utilities that are unique to WinBatch are documented in the WinBatch Users Guide / WinBatch.hlp. All of the Standard WIL functions are documented in the Windows Interfance Language Reference Manual and Windows Interface Language.hlp. Any Extender functions are documented in their own respective .hlp file.


For Example, the 'Box' drawing functions are unique to WinBatch and are documented in the WinBatch Users Guide / WinBatch.hlp file, *not* in the Big WIL (Windows Interface Language) manual or the Windows Interface Language.hlp file.

This section includes only those additional WinBatch functions which do not appear in the WIL (Windows Interfance Language) Reference Manual.

Function List:

General WinBatch Functions
BreakPoint

Generic Box Functions

BoxOpen(title, text)
BoxShut( )
BoxText(text)
BoxTitle(title)

Graphical Box Functions

The 'box' functions cannot be used with the Filemenu or Popmenu utilities. These WinBatch box functions generate attractive boxes with graphical interface elements. With a small number of primitive functions, very complex screens may be generated. The Box functions can draw lines, rectangles, circles, ellipses, text, and even additional windows on the screen. Plus they provide control over the size, placement, and color of the images.

Note: Another way to create graghical dialogs, is to use the WIL Dialog Editor. The WinBatch setup program uses WinBatch box functions to display the GUI part of the user interface. Additional "box" wbt files can be found in the Winbatch\ Samples directory.

BoxBitmap(box ID, coordinates, filename, stretch-mode)
BoxButtonDraw(box ID, button ID, text, coordinates)
BoxButtonKill(box ID, button ID)
BoxButtonStat(box ID, button ID)
BoxButtonWait( )
BoxCaption(box ID, caption)
BoxColor(box ID, color, wash color)
BoxDestroy(box ID)
BoxDrawCircle(box ID, coordinates, style)
BoxDrawLine(box ID, coordinates)
BoxDrawRect(box ID, coordinates, style)
BoxDrawText(box ID,coordinates,text,erase flag,alignment)
BoxesUp(coordinates, show mode)
BoxMapMode(box ID, map mode)
BoxNew(box ID, coordinates, style)
BoxPen(box ID, color, width)
BoxTextColor(box ID, color)
BoxTextFont(box ID, name, size, style, pitch & family)
BoxUpdates(box ID, update flag)

Drawing Stack Management

BoxDataClear(box ID, tag)
BoxDataTag(box ID, tag)

Service Functions

If you want the WinBatch service to wait for a particular time or event to occur, you can use any of the normal WIL methods (TimeDelay, TimeWait, WinWaitExist, etc.). You can also use any of the following service functions:
SvcSetAccept(codes)
SvcSetState(state)
SvcWaitForCmd(timeout)

Article ID:   W16468
File Created: 2005:02:18:12:20:52
Last Updated: 2005:02:18:12:20:52