Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[Solved]Getting Class Of Focused Window?

There's a project I've been working on for awhile now it's basically near completion but there's one thing i just cant seem to get right and that's getting the class name of a window so basically what I want is to get the class name alone for example Notepad's class name would be "Edit" < that specific part is all i want I'm currently using GetForgroundWindowInfo to get the window constantly so If i focus on notepad it would give me

[Image: VUefL82.png]

which is good but now all i need is that "edit" part if it makes sense ? I've literally searched all over google and nothing is what i want
'Edit' is a child window, you'll want to pinvoke EnumChildWindows.
(Jan 29, 2016 03:21 PM)Odus Wrote:  'Edit' is a child window, you'll want to pinvoke EnumChildWindows.

thank's I'll check it out


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by lockheadApr 22, 2021 07:10 AM 0 147 Apr 22, 2021 07:10 AM
Last Post: lockhead
[C#] by SIM-964740Oct 11, 2016 02:58 AM 1 153 Oct 11, 2016 02:58 AM
Last Post: ASMR
[C#] by brotherbrotherSep 11, 2016 06:43 AM 3 199 Sep 11, 2016 06:43 AM
Last Post: Ninja