Click here to Skip to main content
15,921,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drawing transparent bitmaps using GDI+ Pin
Blake Miller17-Jun-05 10:49
Blake Miller17-Jun-05 10:49 
GeneralWidescreen display problem Pin
Cpt Rick17-Jun-05 8:53
Cpt Rick17-Jun-05 8:53 
GeneralRe: Widescreen display problem Pin
Christian Graus17-Jun-05 21:31
protectorChristian Graus17-Jun-05 21:31 
Questiongraphing program classes? Pin
htuba17-Jun-05 8:18
htuba17-Jun-05 8:18 
AnswerRe: graphing program classes? Pin
PJ Arends17-Jun-05 8:29
professionalPJ Arends17-Jun-05 8:29 
GeneralNumber of top level windows open Pin
heman15417-Jun-05 7:57
heman15417-Jun-05 7:57 
GeneralRe: Number of top level windows open Pin
David Crow17-Jun-05 8:18
David Crow17-Jun-05 8:18 
GeneralRe: Number of top level windows open Pin
Toby Opferman20-Jun-05 19:03
Toby Opferman20-Jun-05 19:03 
I don't think there is a way to just get the count aside from the enumeration API.

However, you must make one distinction. Do you want:

a) ALL windows on the system?
b) ALL _VISIBLE_ windows on the system (There are a lot of windows on the system that are not visible)?
c) ALL _TOP LEVEL_ windows on the system?

There is also the question of do you want to include each little component such as each button, edit box, system tray, the desktop icons (progman), the task bar, etc. etc. etc. because all those little details get enumerated. All controls, etc.

Depending on what you are looking for would determine how you write the counting code to exclude and include the correct windows when you enumerate.

There is also "EnumChildWindows" which may need to be called on each top level enumerated window if you don't want just top level windows.



8bc7c0ec02c0e404c0cc0680f7018827ebee
GeneralRe: Number of top level windows open Pin
David Crow21-Jun-05 2:19
David Crow21-Jun-05 2:19 
GeneralRe: Number of top level windows open Pin
Toby Opferman21-Jun-05 5:24
Toby Opferman21-Jun-05 5:24 
GeneralRe: Number of top level windows open Pin
Toby Opferman21-Jun-05 8:59
Toby Opferman21-Jun-05 8:59 
Generaldetect Physical Memory size Pin
heman15417-Jun-05 7:29
heman15417-Jun-05 7:29 
GeneralRe: detect Physical Memory size Pin
Ravi Bhavnani17-Jun-05 7:42
professionalRavi Bhavnani17-Jun-05 7:42 
GeneralRe: detect Physical Memory size Pin
heman15417-Jun-05 7:53
heman15417-Jun-05 7:53 
GeneralGet Time Function Pin
bugDanny17-Jun-05 7:14
bugDanny17-Jun-05 7:14 
GeneralRe: Get Time Function Pin
David Crow17-Jun-05 7:20
David Crow17-Jun-05 7:20 
GeneralQuestion for jpeg.lib users Pin
ryuki17-Jun-05 6:48
ryuki17-Jun-05 6:48 
GeneralRe: Question for jpeg.lib users Pin
JWood17-Jun-05 7:01
JWood17-Jun-05 7:01 
GeneralAnswer found Pin
ryuki17-Jun-05 11:30
ryuki17-Jun-05 11:30 
QuestionCan any help me in this simple proplem? Pin
kosamoza17-Jun-05 6:46
kosamoza17-Jun-05 6:46 
AnswerRe: Can any help me in this simple proplem? Pin
JWood17-Jun-05 6:54
JWood17-Jun-05 6:54 
AnswerRe: Can any help me in this simple proplem? Pin
David Crow17-Jun-05 7:16
David Crow17-Jun-05 7:16 
GeneralRe: Can any help me in this simple proplem? Pin
kosamoza17-Jun-05 10:48
kosamoza17-Jun-05 10:48 
GeneralRe: Can any help me in this simple proplem? Pin
David Crow17-Jun-05 17:18
David Crow17-Jun-05 17:18 
Generalconversion of unix codes to VC++ codes Pin
Bugslayer117-Jun-05 6:19
Bugslayer117-Jun-05 6:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.