Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "WinAPI";
Текущий архив: 2006.03.05;
Скачать: [xml.tar.bz2];

Вниз

почему моя программа нехочет работать нормально 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 вся ветка

Форум: "WinAPI";
Текущий архив: 2006.03.05;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.44 MB
Время: 0.014 c
15-1139853703
Sergey Masloff
2006-02-13 21:01
2006.03.05
Борланд отказывается от развития!!! (Так похоже нужно начинать


15-1139563333
Shelezjaka
2006-02-10 12:22
2006.03.05
Где есть хорошие железячные форумы или как узнать что это


2-1139834354
serko
2006-02-13 15:39
2006.03.05
Как лудше сделать?


2-1139992973
aleshap
2006-02-15 11:42
2006.03.05
EOutOfResources


10-1113539192
JekSoft
2005-04-15 08:26
2006.03.05
Объект OLE/ActiveX для MS Office





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский