UIwinHandle

Synopsis

a UI base class that provides a handle to native Windows/Motif events and objects

group UIwinHandle<cxx_name="UI_UIwinHandle"> {

#ifdef MSDOS

  int window; /* native window ID */
  int widget; /* native widget ID (may = window on some systems) */

  #else
  int window; /* native window ID */
  ptr widget; /* native widget ID (may = window on some systems) */

  #endif
  int event; /* window/widget change = 1,
                            geometry change = 2,
                            expose change = 3 */

  #ifdef MSDOS
  int+nonotify hdc; /* Need the hdc on an expose event */

  #endif
  };

Description

UIwinHandle is a base class used by other UI classes to implement a handle to objects and events that occur in the native windowing systems. Widget and window values are available to AVS/Express objects through this base class.

UIwinHandle cannot be instantiated separately

Subobjects

window;

The native window system's representation for the window ID. It is an integer on Motif and Windows. Note that the Motif window object is an opaque type.

widget;

The native window system's representation for the widget ID. It is a pointer type on Motif and an integer on Windows. Usually the most visible or apparent object displayed by an AVS/Express UIobject.

event

Attributes that specify the event occurring on the widget/window attribute. Possible values are:
1 = window/widget change
2 = geometry change
3 = expose change

hdc

.

Integer. On Windows, the window's device context. Only present on Motif systems

Example

Not Available

File

v/UI.v

See Also Related Modules

UIfontCursor
UIpixmapCursor