Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.06.02;
Скачать: CL | DM;

Вниз

GetWindowInfo?   Найти похожие ветки 

 
Axis_of_Evil ©   (2003-04-02 10:10) [0]

Есть у меня Handle (hwnd) дочернего компонента какой-то формы (еще и не эльфийской).

Как узнать все о том, чей Handle я имею?
// Handle был получен через Enum...


 
Style   (2003-04-02 10:15) [1]


GetClassName
GetClassInfo


 
Axis_of_Evil ©   (2003-04-02 10:30) [2]

Thanks a lot.


 
Игорь Шевченко ©   (2003-04-02 13:28) [3]

The GetWindowInfo function retrieves information about the specified window.

Syntax

BOOL GetWindowInfo( HWND hwnd,
PWINDOWINFO pwi
);
Parameters

hwnd
[in] Handle to the window whose information is to be retrieved.
pwi
[out] Pointer to a WINDOWINFO structure to receive the information. Note that you must set WINDOWINFO.cbSize to sizeof(WINDOWINFO) before calling this function.
Return Value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Windows NT/2000/XP: To get extended error information, call GetLastError.

Function Information

Header Declared in Winuser.h, include Windows.h
Import library User32.lib
Minimum operating systems Included in Windows 98, Windows NT 4.0 SP3



 
Axis_of_Evil ©   (2003-04-04 10:07) [4]

Damn, я думал такой функции нет ...


 
Axis_of_Evil ©   (2003-04-04 10:09) [5]

Стоп, почему ее в win32sdk.hlp нет?
Где есть?


 
Игорь Шевченко ©   (2003-04-04 10:39) [6]

В MSDN, естественно


 
Axis_of_Evil ©   (2003-04-04 18:26) [7]

Ламерсий вопрос: что такое MSDN?


 
Cobalt ©   (2003-04-04 19:55) [8]

http://msdn.microsoft.com/library/default.asp
Ya.ru рулит (почит всегда ;)



Страницы: 1 вся ветка

Текущий архив: 2003.06.02;
Скачать: CL | DM;

Наверх




Память: 0.48 MB
Время: 0.025 c
1-2878
User
2003-05-22 12:43
2003.06.02
Быстрое копирование блоков памяти


3-2790
me2
2003-05-14 14:20
2003.06.02
Программное удаление пользователя


1-2912
delpher_gray
2003-05-22 20:39
2003.06.02
Как сделать копию экрана, уменьшеную в два раза !?


14-3055
Александр из Минска
2003-05-15 22:22
2003.06.02
Бегущая строка...


6-3036
Sergey V.
2003-04-01 16:36
2003.06.02
Почтовый сервер на Delphi