Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > UpDown Control >

UpDown_SetBuddy

Previous pageReturn to chapter overviewNext page

 

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