sdl_latt()

Set the logical attribute array to be used by a Designer library

Call
#include <vv_des.h>
void sdl_latt(libname_stp, latt)

UCHAR *libname_stp

Pointer to name of library to change attributes for

UCHAR *latt Pointer to logical attribute array to be copied to the Designer array
Returns

None

Description

sdl_latt() is used when you want to use a different logical attribute array than the one built in the Designer. It searches the linked list of library logical attributes for the given name. Once found, sdl_latt() copies the first 100 characters of the specified to the buffer of the specified library, so that all forms and windows read from the library will get the new colors.

Related Functions

dl_lattp()

Cautions

You can only use the logical attribute array of a Designer library that is already open or that is already in use by another data form, menu form, or window.

The size of the Designer library logical attribute array is set to 100. To avoid memory overwrites, this routine only copies the first 100 characters of the given array.


Home Contents Previous Next