1

Topic: To make application by active!

All kind day!
Perhaps, this subject already appeared at a forum, but search of results did not give smile). Here, actually, in what a question: how to make application by active if you know a window descriptor (type, Alt+Tab at pushing a button in a program)?

2

Re: To make application by active!

Application is my application??? What for to me to activate it if it is already active. I need to open the left program ("Notepad", for example).

3

Re: To make application by active!

 if IsIconic (Wnd) then ShowWindow (Wnd, SW_RESTORE)
else BringWindowToTop (Wnd);

4

Re: To make application by active!

wrote:

if IsIconic (Wnd) then ShowWindow (Wnd, SW_RESTORE)
else BringWindowToTop (Wnd);

BringWindowToTop (Wnd) for some reason does not work. Can what at me form StayOnTop?

5

Re: To make application by active!

I am sorry! Did not plow IsIconic! At me application reset lies in tray' and at recovery something is torn not clear!