Вниз
Скачать: CL | DM;

почему моя программа нехочет работать нормально 3-я часть   Найти похожие ветки 

← →
sergey1 ©   (2005-12-15 04:34) [0]

в данный момент программа немного переделана , производится обновление окон после выбора ListBox"a чтобы затереть курсор дабы не было двух курсоров в обоих ListBox"ах ,сделан для видимого обозрения активного ListBox"a . Теперь вопрос как определить какой из 2-х ListBox является активным, т.е. где находится курсор.


← →
Джо ©   (2005-12-15 04:36) [1]

ActiveControl?


← →
Джо ©   (2005-12-15 04:37) [2]

or Focused?


← →
ShiFT   (2005-12-15 08:45) [3]

HWND GetFocus(VOID)

Parameters
 This function has no parameters.

Return Values
 If the function succeeds, the return value is the handle of the window with the keyboard focus. If the calling thread"s message queue does not have an associated window with the keyboard focus, the return value is NULL.

Remarks
 Even if GetFocus returns NULL, another thread"s queue may be associated with a window that has the keyboard focus.
Use the GetForegroundWindow function to retrieve the handle to the window with which the user is currently working. You can associate your thread"s message queue with the windows owned by another thread by using the AttachThreadInput function.



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

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.032 c
3-1136739485
Rust007
2006-01-08 19:58
2006.03.05
Как задать пароль к Acess и использовать её в Delphi


15-1139324718
Человек
2006-02-07 18:05
2006.03.05
LPT порт


2-1140249308
drink
2006-02-18 10:55
2006.03.05
Переменная в двух модулях (Unit).


3-1136964821
alsov
2006-01-11 10:33
2006.03.05
Оптимизация запроса


1-1138718514
grusty
2006-01-31 17:41
2006.03.05
Как программно выделить строку в ListBox?




   Наверх