Как скрыть приложение для taskbar и Ctrl-Alt-Del в Win98?
ms-help://MS.MSDNQTR.2003FEB.1033/shellcc/platform/shell/programmersguide/shell_int/shell_int_programming/taskbar.htm — в msdn для taskbar
Managing Taskbar Buttons
The Shell creates a button on the taskbar whenever an application creates a window that isn't owned. To ensure that the window button is placed on the taskbar, create an unowned window with the WS_EX_APPWINDOW extended style. To prevent the window button from being placed on the taskbar, create the unowned window with the WS_EX_TOOLWINDOW extended style. As an alternative, you can create a hidden window and make this hidden window the owner of your visible window.
The Shell will remove a window's button from the taskbar only if the window's style supports visible taskbar buttons. If you want to dynamically change a window's style to one that doesn't support visible taskbar buttons, you must hide the window first (by calling ShowWindow with SW_HIDE), change the window style, and then show the window.
выше, ниже тоже интересно посмотреть эту статью.
для Ctrl-Alt-Del — возможно.
но не знаю как. (встречал, но ни разбирался, ни запоминал ссылку)
Здравствуйте, Serjio, Вы писали:
S>для Ctrl-Alt-Del — возможно.
S>но не знаю как. (встречал, но ни разбирался, ни запоминал ссылку)
Надо просто сказать виндозе что запущен ScreenSaver. Делается это простым вызовом:
procedure SetDisableSysKey(Value: boolean);
var
Dummy: integer;
begin
SystemParametersInfo(SPI_SCREENSAVERRUNNING, Integer(Value), @Dummy, 0)
end;
... << RSDN@Home 1.1 beta 2 >>
Здравствуйте, Paxan, Вы писали:
P>Как скрыть приложение для taskbar и Ctrl-Alt-Del в Win98?
Можно проще ShowWindow(appHandle, SW_HIDE);
то что где-то проскакивало, было про то как
скрыть process, в списке процессов в TaskManager-е, в NT.
может это не относиться к вопросу, но он мне напомнил,
что доверять глазам своим смотрящим на TaskManager, нельзя |-(
Posted via RSDN NNTP Server 1.8 beta
> Как скрыть приложение для taskbar и Ctrl-Alt-Del в Win98?
в kernel32.dll есть функция RegisterServiceProcess()
подробнее — в SDK
Posted via RSDN NNTP Server 1.8 beta