<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > UpDown Control > UpDown Control Commands > UpDown_SetBuddy |
Description
Sets the buddy control ID for an UpDown control.
Syntax
PrevBuddyID = UpDown_SetBuddy(hWnd, ctrlID, ctrlBuddyID)
Returns
Number.
The handle to the previous buddy window.
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Number |
No |
Handle of the dialog containing the control |
ctrlID |
Number |
No |
Control identifier assigned to the control during CONTROL ADD ... |
ctrlBuddyID |
Number |
No |
Control identifier of the buddy control |
Remarks
Restrictions
See also
Examples