Главная страница
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.015 c
14-3101
stesin
2003-05-13 18:47
2003.06.02
В Украине с Интернетом все чудесатее и чудесатее!!!


3-2740
Inkotex
2003-05-13 00:47
2003.06.02
Инсталяция IB+своей програмы


1-2957
alpa
2003-05-21 10:13
2003.06.02
Реестр


3-2761
noteens
2003-05-13 20:04
2003.06.02
строки в DBGrid


1-2979
Chaos
2003-05-21 15:13
2003.06.02
Банальная работа со строками