cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Geting Handle for Command Window

Hi,
How can I get Handle for a Command Window
I used FindWindow("cmd",""). But it returns 0 always.

Can anyone suggest on this.

Thanks & Regards
Girish Katti
Labels (1)
0 Kudos
2 Replies
Highlighted
Pilgrim

Re: Geting Handle for Command Window

Perhaps use a tool such as Spy++ to find the "window class" that you pass to FindWindow; perhaps instead of "cmd" it's "ConsoleWindowClass" or the like?
0 Kudos
Highlighted

Re: Geting Handle for Command Window

Hi,
Thanks for the reply.
Thats was very use info.
0 Kudos