Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

BCpp windows aplikacija vs Ctrl Esc || Alt F4

[es] :: C/C++ programiranje :: BCpp windows aplikacija vs Ctrl Esc || Alt F4

[ Pregleda: 2572 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Duke Nukem
Miroslav Mitic
dipl.mas.ing - tehnolog za hidrauliku/
REL, MAG panciranje i zavarivanje bla
bla...
Lazarevac

Član broj: 38933
Poruke: 143
*.absolutok.net.



Profil

icon BCpp windows aplikacija vs Ctrl Esc || Alt F422.12.2004. u 17:31 - pre 158 meseci
Ima li neko ideju kako bi klasicna Borland C++ windows aplikacija sprecila svoje zatvaranje kombinacijom tastera Ctrl + Esc ili Alt + F4
Tape loading error
 
Odgovor na temu

NastyBoy
Bojan Nastic
UK

Član broj: 12041
Poruke: 895
*.plus.com.



Profil

icon Re: BCpp windows aplikacija vs Ctrl Esc || Alt F422.12.2004. u 18:30 - pre 158 meseci
Preklopi OnCloseQuery forme i setuj CanClose = false
 
Odgovor na temu

Duke Nukem
Miroslav Mitic
dipl.mas.ing - tehnolog za hidrauliku/
REL, MAG panciranje i zavarivanje bla
bla...
Lazarevac

Član broj: 38933
Poruke: 143
*.absolutok.net.



Profil

icon BCpp windows aplikacija vs Ctrl Esc || Alt F422.12.2004. u 20:18 - pre 158 meseci
Hvala, vrlo jednostavno potpuno sam zaboravio na CloseQuery ali to je resilo samo problem Alt + F4, ali ostaje pitanje kako zablesaviti dugme Start ( Ctrl + Esc)
Trebalo bi da aplikacija bude maksimalno prioritetna tj naagovoriti windows da ne pokrece Start meni i ostale programe uporedno sa njim.
Tape loading error
 
Odgovor na temu

NastyBoy
Bojan Nastic
UK

Član broj: 12041
Poruke: 895
*.plus.com.



Profil

icon Re: BCpp windows aplikacija vs Ctrl Esc || Alt F422.12.2004. u 23:04 - pre 158 meseci
Evo shta kazhe MSDN :

SYMPTOMS
------------
CTRL+ESC and ALT+TAB task switching cannot be disabled by an application running under Windows NT.

CAUSE
-------
A primary reason for this change is to avoid dependence on an application for processing of these key combinations. This way a hung application can be switched away from by using either CTRL+ESC or ALT+TAB.

RESOLUTION
-------------
You can disable CTRL+ESC on a system-wide basis by replacing the NT Task Manager. This is not recommended.

You can disable ALT+TAB and ALT+ESC while a particular application is running if that application registers hotkeys for those combinations with Register HotKey().

Another mechanism to disable these key combinations, as well as the newer Windows key, is to use a low level keyboard hook (WH_KEYBOARD_LL). This hook is available on Windows NT 4.0 Service Pack 3 and later. The low level keyboard hook can also detect CTRL+ALT+DEL, but it cannot disable it.

STATUS
--------
This behavior is by design.


To isto sam probao pre par godina, i radi posao. Samo dobro pogledaj kako registrovati Key-hook i to je to
 
Odgovor na temu

[es] :: C/C++ programiranje :: BCpp windows aplikacija vs Ctrl Esc || Alt F4

[ Pregleda: 2572 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.