Help Center

SetBuddyfunction

Sets the buddy window for an up-down control.

WindowsfunctionCUpDown.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION SetBuddy (BYVAL hUpDown AS HWND, BYVAL hwndBuddy AS HWND) AS HWND

Parameters

NameDescription
hUpDownHandle to the up-down control.
hwndBuddyHandle to the new buddy window.

Return value

The return value is the handle to the previous buddy window.

Description

Sets the buddy window for an up-down control.

Reference

  • Include file CUpDown.inc
  • Documented in Windows/WIndows Controls/CUpDown Class.md
  • Topic: CUpDown control