Please add your comments and suggestions as a Reply to this thread.

PB/WIN - CONTROL HANDLE statement
Purpose

PB/WIN - CONTROL HANDLE statement
Purpose
Return a window handle for the specified control ID.
SyntaxCONTROL HANDLE hDlg, id& TO hCtl&
RemarkshDlg refers to the dialog that owns the control. id& is the unique control identifier as assigned to the control with a CONTROL ADD statement.
The returned value is a window handle for the control, assigned by Windows when the control was initially created, uniquely identifying the control from all other controls. Some API functions require a window handle value rather than a control ID value.
See AlsoReferencesThe returned value is a window handle for the control, assigned by Windows when the control was initially created, uniquely identifying the control from all other controls. Some API functions require a window handle value rather than a control ID value.
CONTROL ADD:
CONTROL ADD "custom-control" statement
CONTROL ADD BUTTON statement
CONTROL ADD CHECK3STATE statement
CONTROL ADD CHECKBOX statement
CONTROL ADD COMBOBOX statement
CONTROL ADD FRAME statement
CONTROL ADD GRAPHIC statement
CONTROL ADD IMAGE statement
CONTROL ADD IMAGEX statement
CONTROL ADD IMGBUTTON statement
CONTROL ADD IMGBUTTONX statement
CONTROL ADD LABEL statement
CONTROL ADD LINE statement
CONTROL ADD LISTBOX statement
CONTROL ADD OPTION statement
CONTROL ADD SCROLLBAR statement
CONTROL ADD TEXTBOX statement
CONTROL ADD BUTTON statement
CONTROL ADD CHECK3STATE statement
CONTROL ADD CHECKBOX statement
CONTROL ADD COMBOBOX statement
CONTROL ADD FRAME statement
CONTROL ADD GRAPHIC statement
CONTROL ADD IMAGE statement
CONTROL ADD IMAGEX statement
CONTROL ADD IMGBUTTON statement
CONTROL ADD IMGBUTTONX statement
CONTROL ADD LABEL statement
CONTROL ADD LINE statement
CONTROL ADD LISTBOX statement
CONTROL ADD OPTION statement
CONTROL ADD SCROLLBAR statement
CONTROL ADD TEXTBOX statement