Getting top level window icons

  • Thread starter Thread starter pigeonrandle
  • Start date Start date
P

pigeonrandle

Hi,
I posted this in c#, but thought it might be better in this group...

I would like to do something similar to Task Manager's Application tab,
but i would also like to do this for all windows that are top-level
(whether they are visible or not).

So i guess i am really asking ...
Given a top level window handle, is there an API i can use to get its
associated icon?

Thanks in advance,
James.

Or is there somewhere even better i could post this??...
 
So i guess i am really asking ...
Given a top level window handle, is there an API i can use to get its
associated icon?

Unfilter the help and look for ExtractIcon and ExtractIconEx.
 
Back
Top