Re: [Dev-C++] Win32 shell programming
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Juliet <no...@li...> - 2001-11-25 18:27:26
|
At 10.47 25/11/2001 -0800, dx FX wrote: >Ive tried to use EnumWindows, but i did not get what I expected. I >expected to get the running applications on the desktop and the ones on >the system tray. But instead, I got more that 100+ windows that where >enumerated by the function. Maybe I must be more General but specific in >the problem. The taskbar enumerates only windows with the WS_EX_APPWINDOW and WS_VISIBLE styles. The title is the window's text (GetWindowTextLength - warning! some window classes return bogus values for this, always mask out the higher 16 bit - and GetWindowText). The icon is either the window's icon (WM_GETICON), the class's icon (GetClassLongEx), or a default icon of your choice |