Вниз
Скачать: 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 вся ветка

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



Память: 0.44 MB
Время: 0.015 c
3-64039
AlexNord
2003-02-26 01:35
2003.03.20
DBRichEdit


14-64341
Delirium^.Tremens
2003-02-28 13:40
2003.03.20
По любви (


14-64289
Vladimir
2003-03-06 09:39
2003.03.20
IBInstall - как провести инсталляцию на чистой машине?


1-64207
MiXen
2003-03-08 18:29
2003.03.20
Моргание в PaintBox


1-64098
Cherepovets
2003-03-10 16:02
2003.03.20
Кнопки и окна




   Наверх