Как найти все контролы диалога?

Ответить

Код подтверждения
Введите код в точности так, как вы его видите. Регистр символов не имеет значения.

BBCode ВКЛЮЧЁН
[img] ВКЛЮЧЁН
[url] ВКЛЮЧЁН
Смайлики ОТКЛЮЧЕНЫ

Обзор темы
   

Развернуть Обзор темы: Как найти все контролы диалога?

Acidy » 04 ноя 2004, 17:19

см. в МСДН EnumChildWindows()

Kolinus » 04 ноя 2004, 13:34

Полагаю что так
HWND GetWindow(
HWND hWnd, // handle to original window
UINT uCmd // relationship
);
uCmd
[in] Specifies the relationship between the specified window and the window whose handle is to be retrieved. This parameter can be one of the following values. Value Meaning
GW_CHILD The retrieved handle identifies the child window at the top of the Z order, if the specified window is a parent window; otherwise, the retrieved handle is NULL. The function examines only child windows of the specified window. It does not examine descendant windows.

GW_HWNDNEXT The retrieved handle identifies the window below the specified window in the Z order. If the specified window is a topmost window, the handle identifies the topmost window below the specified window. If the specified window is a top-level window, the handle identifies the top-level window below the specified window. If the specified window is a child window, the handle identifies the sibling window below the specified window.

Как найти все контролы диалога?

WERT » 04 ноя 2004, 12:58

Здрасти.
Как найти контролы диалога. Например список их ID?
Спасибо.

Вернуться к началу