Solved

How to restore ...?

Posted on 2001-08-02
8
131 Views
Last Modified: 2010-04-06
How to restore an application when I Have got the Handle?
0
Comment
Question by:el_shiro
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 14

Accepted Solution

by:
DragonSlayer earned 50 total points
ID: 6344090
ShowWindow(TheHandle, SW_RESTORE);
0
 
LVL 20

Expert Comment

by:Madshi
ID: 6344435
What handle do you have? The process handle? Then you're out of luck. If you have the handle of the main window, you can use DragonSlayer's solution.

Regards, Madshi.
0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 6344617
(Madshi, I wonder why there is a sudden *BOOM* in questions regarding handles... )
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 20

Expert Comment

by:Madshi
ID: 6344709
:-)  Don't know... It's just not too easy with all those different kind of handles...
0
 

Expert Comment

by:Yevgen
ID: 6346604
Madshi, do you know how to move a window(button for Ex.) from one process to another...?
0
 

Author Comment

by:el_shiro
ID: 6347565
the handle which I meant is windows handle, I have used this :
 ShowWindow(Handle,SW_MAXIMIZE) or
 ShowWindow(Handle,SW_MINIMIZE)
 then
 ShowWindow(Handle,SW_SHOW)
 then
 ShowWindow(Handle,SW_NORMAL)
but It make un-comfort on eyes :(
 
So ... , anyone know how to use the "ShowWindow" Windows API function or other function?


Thanks to All

Shiro
0
 
LVL 20

Expert Comment

by:Madshi
ID: 6347635
Look at DragonSlayer's comment, you have to use SW_RESTORE, that should work fine.

Yevgen, you can't. You would have to recreate the window in the context of the other application. That's *quite* difficult...

Regards, Madshi.
0
 

Author Comment

by:el_shiro
ID: 6389084
Thanks to DragonSlayer and others :)
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Working with hours 3 58
Need Help Delphi 2010 CheckBox1 Stored value in memo 13 67
DBGrid or StringGrid ? 6 91
Multi-layered image in FireMonkey 9 38
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question