|
|
Регистрация Восстановить пароль |
Регистрация | Задать вопрос |
Заплачу за решение |
Новые сообщения |
Сообщения за день |
Расширенный поиск |
Правила |
Всё прочитано |
|
Опции темы | Поиск в этой теме |
05.11.2010, 22:40 | #1 |
Oo
Форумчанин
Регистрация: 10.10.2009
Сообщений: 350
|
Запуск только одного экземпляра приложения
Как проверить, что приложение запущено в единственном экземпляре примерно представляю. А как еще при этом развернуть первое открытое приложение, спрятанное функцией Hide ?
|
06.11.2010, 00:10 | #2 |
Форумчанин
Регистрация: 25.09.2009
Сообщений: 525
|
Код:
Код:
|
06.11.2010, 00:49 | #3 |
Oo
Форумчанин
Регистрация: 10.10.2009
Сообщений: 350
|
спасибо. А как при этом еще сделать, чтобы оно выходило на передний план?
|
06.11.2010, 00:53 | #4 |
Oo
Форумчанин
Регистрация: 10.10.2009
Сообщений: 350
|
нашел
[DllImport("user32.dll")] static extern bool SetForegroundWindow(IntPtr hWnd); |
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Обработка события выгрузки экземпляра (одного из нескольких) COM-сервера в приложении | edwardvk | Общие вопросы Delphi | 0 | 03.10.2010 17:07 |
Запуск только одной копии приложения | Casper-SC | Общие вопросы .NET | 1 | 18.07.2010 02:06 |
Постороний файл и запуск его только с нашего приложения | serres | Общие вопросы .NET | 2 | 25.02.2010 00:17 |
Передача экрана экземпляра приложения по сети | Sasha811 | Общие вопросы C/C++ | 9 | 22.10.2009 12:45 |
Kопирование файлы из одного компьютера на другой, только по таймеру | Aqil_f | Microsoft Office Excel | 6 | 22.10.2009 07:13 |