Delphi show and hide form

A very simple question, but I'm with my learning C ++ / VC more than a year, the contact Delphi's not a short time, but still could not write.

Originally thought, would not that Form1.Show and Form1.Hide it, but it is not what you want to achieve results

The problem is not quite used as an in-depth study, to let me find, Delphi is not Xinshou to pick, what is so easy, thought he was a bit of foundation VC, they underestimate Delphi.

The most recently been using Delphi, but nothing to grow, it seems that without learning system.

Here is the Delphi show and hide the code for the form:

隐藏:   
  Application.Minimize();   
  ShowWindow(application.Handle,SW_HIDE);   
    
  显示:   
  ShowWindow(application.Handle,SW_SHOW);   
  Application.Restore();  

Guess you like

Origin www.cnblogs.com/jijm123/p/12602694.html