Вниз
Скачать: CL | DM;

КАК СВЕРНУТЬ ВСЕ ОКНА??   Найти похожие ветки 

← →
Inquisitor   (2002-11-22 02:45) [0]

Народ помогите плз!
Как из своей программы свернуть все окна?
И еще вопрос : Как корректно перезагрузить комп если запущено ДОС приложение?

Заранее благодарен.


← →
s.kaster ©   (2002-11-22 05:47) [1]

/* Hачало (MINIMIZE.DPR)
{$APPTYPE CONSOLE}
program Minimize;
uses Windows,Messages;
var Count:integer;

function EnumProc (WinHandle: HWnd; Param: LongInt): Boolean; stdcall;
begin
if (GetParent (WinHandle) = 0) and (not IsIconic (WinHandle)) and
(IsWindowVisible (WinHandle)) then begin
PostMessage (WinHandle, WM_SYSCOMMAND, SC_MINIMIZE, 0);
Inc(Count);
end;
EnumProc := TRUE;
end;

begin
Count:=0;
EnumWindows (@EnumProc, 0);
Writeln("Minimized:",Count," windows");
end.
конец (MINIMIZE.DPR)*/



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.014 c
1-24897
serikoff
2002-12-25 19:44
2003.01.09
param as array of variant


1-24892
alxx
2002-12-25 17:07
2003.01.09
Курсы вылют


4-25153
Serd_hhc
2002-11-22 05:22
2003.01.09
Как перехватить сообщение...


1-24889
Hooch
2002-12-23 12:22
2003.01.09
Word 2000 + Delphi


1-24939
Z-Yuri
2002-12-25 17:56
2003.01.09
О размере ДЛЛ.




   Наверх