Progress
Language Reference


HWND Attribute

An integer value for a Windows handle to the window that contains the widget.

Data Type: INTEGER

Access: Readable

Applies To: Browse, Button, Combo-box, Control-frame, Dialog-box, Editor, Field-group, Fill-in, Frame, Image, Literal, Menu, Menu-item, Radio-set, Rectangle, Selection-list, Slider, Sub-menu, Text, Toggle-box, Window

This attribute is supported for dynamic link library (DLL) access only on Windows. Some DLL routines require that you pass this value.

For Progress window widgets, the Windows window that contains the widget is actually the parent of the Windows widget referenced by HWND. Thus, to obtain the handle of the Windows window that contains the Progress window, you must pass the value of HWND to the GetParent() function (in the user32.dll). Pass the result of GetParent() to the DLL routine that requires it.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095