Board index » delphi » HOW TO MINIMIZE PROGRAM MANAGER FROM WIN APPLICATION ?

HOW TO MINIMIZE PROGRAM MANAGER FROM WIN APPLICATION ?

Is it possible to minimize PROGRAM MANAGER window from window
application in  BP7 ?
... using WIN API please - no objects :)

                                                                    GrGa
  E-mail...: Arminio.Gr...@USA.Net
  HomePage.: http://www.geocities.com/SiliconValley/Way/9629/arminio.htm

 

Re:HOW TO MINIMIZE PROGRAM MANAGER FROM WIN APPLICATION ?


Quote
Arminio Grgic wrote:
> Is it possible to minimize PROGRAM MANAGER window from window
> application in  BP7 ?
> ... using WIN API please - no objects :)

Why not?

uses winProcs, winTypes;
var pm: hWnd;

begin
  pm := FindWindow('progman','');
  if pm <> 0 then showWindow(pm,SW_MINIMIZE);
end.

Andras

Other Threads