Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.03.05;
Скачать: 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 вся ветка

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

Наверх




Память: 0.47 MB
Время: 0.049 c
15-1139761406
тихий вовочка
2006-02-12 19:23
2006.03.05
Ищу совет по поздравлению


1-1138957761
t0mk4
2006-02-03 12:09
2006.03.05
Image1. как вывести только один кусок картинки?


2-1139995609
ZbarKiy
2006-02-15 12:26
2006.03.05
Не понятная надпись caption в TMenuItem


9-1126007655
AlexeyM
2005-09-06 15:54
2006.03.05
эмуляция нажатия клавиши клавиатуры


1-1138970255
Ega23
2006-02-03 15:37
2006.03.05
Использование нескольких TActionList