Teen Programmers Unite  
 

 

Return to forum top

Handles and tasks

Posted by Brok3n_Link [send private reply] at November 01, 2002, 07:49:33 AM

does anyone know an api or something to enum tasks, like the applications pane in XP, not every single process(hwnd and windowtext)?

i need this is make a combobox tha has all open windows in, but i don't the start menu, winxp hidden compentents etc. in there....

thx

Posted by taubz [send private reply] at November 01, 2002, 10:40:02 PM

IIRC, you need to enumerate all of the top-level windows and check if they have a particular "show in taskbar" style set.

- taubz

Posted by Brok3n_Link [send private reply] at November 02, 2002, 07:34:16 AM

How do i detect the style set? is a component in the window?

thx taubz

any help here would be greatly appreciated.

Posted by taubz [send private reply] at November 04, 2002, 07:48:51 AM

Look up GetWindowStyle and the related functions/constants on msdn.microsoft.com.

- taubz

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.