HeaderPane
Main
Hide
Share Link
Print

Dependent

Returns dependent item information for a parent item.

C

LONG WINAPI SftBox_GetDependent(HWND hwndCtl, LONG indexTC, int type);

C++

LONG CSftBox::GetDependent(LONG indexTC, int type) const;

Parameters

hwndCtl

The window handle of the combo box control.

indexTC

The zero-based index of the parent item for which dependent item information is to be retrieved.

type

A value indicating the type of dependent item information to retrieve.

SFTBOX_DEPENDENT_FIRSTRetrieves the index of the first dependent.
SFTBOX_DEPENDENT_LASTRetrieves the index of the last dependent.

Returns

The return value is the index of the requested dependent item or -1 if the specified item doesn't have any dependents or if indexTC or type is invalid.

Comments

The GetDependent function returns dependent item information for a parent item.

The index returned is not necessarily an immediate dependent. The dependent retrieved may be at any level below the parent item level, not just at the next lower level.

See Also C/C++ API | Categories | Notifications


Last Updated 11/21/2026 - (email)
© 2026 Softel vdm, Inc.