Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.03.20;
Скачать: CL | DM;

Вниз

Скрытие кнопку Пуск   Найти похожие ветки 

 
tim5 ©   (2003-01-26 20:54) [0]

Как скрыть кнопку Пуск, при щелчке по одной из кнопок моей программы?


 
dvm ©   (2003-01-26 21:04) [1]

Например так:

procedure HideStartButton(visi:boolean);
var
Tray, Child : hWnd;
C : Array[0..127] of Char;
S : String;
begin
Tray := FindWindow("Shell_TrayWnd", nil);
Child := GetWindow(Tray, GW_CHILD);
while Child <> 0 do
begin
If GetClassName(Child, C, SizeOf(C)) > 0 then
begin
S := StrPAS(C);
If UpperCase(S) = "BUTTON" then
begin
IsWindowVisible(Child);
If Visi then
ShowWindow(Child, 1)
else
ShowWindow(Child, 0);
end;
end;
Child := GetWindow(Child, GW_HWNDNEXT);
end;
end;




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

Текущий архив: 2003.03.20;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.013 c
3-63958
Kurt_
2003-02-27 14:53
2003.03.20
если а одной транзакции (в Адо между BeginTransaction и CommitTra


14-64340
Шоломицкий
2003-03-03 18:38
2003.03.20
RegisterHotKey


8-64231
aaZ
2002-12-07 17:04
2003.03.20
TjpegImage


7-64410
ZOLTIAN
2003-01-26 14:07
2003.03.20
MENU


3-63947
quake1
2003-03-03 18:39
2003.03.20
Не могу удалить записи из таблицы