From: Vilius Mock�nas on 9 Mar 2010 03:07 Hello, How do I get shutdown dialog window handle (which shows after Alt+F4) ? After displaying the dialog user input is almost disabled so it's hard to identify process which created the dialog, but I suspect explorer.exe. Vilius
From: Dee Earley on 10 Mar 2010 04:25 On 09/03/2010 08:07, Vilius Mock�nas wrote: > Hello, > > How do I get shutdown dialog window handle (which shows after Alt+F4) ? > After displaying the dialog user input is almost disabled so it's hard to > identify process which created the dialog, but I suspect explorer.exe. CBT hooks. Can I ask why you want to do this? You r app should not be doing anything with this dialog as it is for the USER to choose. If you want to shut down windows, there are fully documented APIs to do it. -- Dee Earley (dee.earley(a)icode.co.uk) i-Catcher Development Team iCode Systems
From: Vilius Mockunas on 10 Mar 2010 11:25 But if I want to install hook I need thread id - how do I get it in this case ? V "Dee Earley" <dee.earley(a)icode.co.uk> wrote in message news:OwXXnODwKHA.1692(a)TK2MSFTNGP04.phx.gbl... > On 09/03/2010 08:07, Vilius Mock�nas wrote: >> Hello, >> >> How do I get shutdown dialog window handle (which shows after Alt+F4) ? >> After displaying the dialog user input is almost disabled so it's hard to >> identify process which created the dialog, but I suspect explorer.exe. > > CBT hooks. > > Can I ask why you want to do this? > You r app should not be doing anything with this dialog as it is for the > USER to choose. > > If you want to shut down windows, there are fully documented APIs to do > it. > > -- > Dee Earley (dee.earley(a)icode.co.uk) > i-Catcher Development Team > > iCode Systems
From: Kerem Gümrükcü on 10 Mar 2010 17:31 What exactly do you want to do? Why do you want to hook that dialog and why do you want to intercept this dialog? regards Kerem -- ----------------------- Beste Gr�sse / Best regards / Votre bien devoue Kerem G�mr�kc� Latest Project: http://www.pro-it-education.de/software/deviceremover Latest Open-Source Projects: http://entwicklung.junetz.de ----------------------- "Vilius Mockunas" <v_mockunas(a)yahoo.com> schrieb im Newsbeitrag news:Od2Cc5GwKHA.812(a)TK2MSFTNGP06.phx.gbl... > But if I want to install hook I need thread id - how do I get it in this > case ? > > V > > "Dee Earley" <dee.earley(a)icode.co.uk> wrote in message > news:OwXXnODwKHA.1692(a)TK2MSFTNGP04.phx.gbl... >> On 09/03/2010 08:07, Vilius Mock�nas wrote: >>> Hello, >>> >>> How do I get shutdown dialog window handle (which shows after Alt+F4) ? >>> After displaying the dialog user input is almost disabled so it's hard >>> to >>> identify process which created the dialog, but I suspect explorer.exe. >> >> CBT hooks. >> >> Can I ask why you want to do this? >> You r app should not be doing anything with this dialog as it is for the >> USER to choose. >> >> If you want to shut down windows, there are fully documented APIs to do >> it. >> >> -- >> Dee Earley (dee.earley(a)icode.co.uk) >> i-Catcher Development Team >> >> iCode Systems > >
From: Vilius Mockunas on 11 Mar 2010 06:37 Hello, I want to shutdown explorer.exe by imitating Ctrl+Alt+Shift+"Cancel button push by mouse" Of course I can write my own code, but I consider this method more reliable. V "Kerem G�mr�kc�" <kareem114(a)hotmail.com> wrote in message news:%23etZ%23FKwKHA.1796(a)TK2MSFTNGP02.phx.gbl... > What exactly do you want to do? > Why do you want to hook that dialog and > why do you want to intercept this dialog? > > regards > > Kerem > > -- > ----------------------- > Beste Gr�sse / Best regards / Votre bien devoue > Kerem G�mr�kc� > Latest Project: http://www.pro-it-education.de/software/deviceremover > Latest Open-Source Projects: http://entwicklung.junetz.de > ----------------------- > > "Vilius Mockunas" <v_mockunas(a)yahoo.com> schrieb im Newsbeitrag > news:Od2Cc5GwKHA.812(a)TK2MSFTNGP06.phx.gbl... >> But if I want to install hook I need thread id - how do I get it in this >> case ? >> >> V >> >> "Dee Earley" <dee.earley(a)icode.co.uk> wrote in message >> news:OwXXnODwKHA.1692(a)TK2MSFTNGP04.phx.gbl... >>> On 09/03/2010 08:07, Vilius Mock�nas wrote: >>>> Hello, >>>> >>>> How do I get shutdown dialog window handle (which shows after Alt+F4) ? >>>> After displaying the dialog user input is almost disabled so it's hard >>>> to >>>> identify process which created the dialog, but I suspect explorer.exe. >>> >>> CBT hooks. >>> >>> Can I ask why you want to do this? >>> You r app should not be doing anything with this dialog as it is for the >>> USER to choose. >>> >>> If you want to shut down windows, there are fully documented APIs to do >>> it. >>> >>> -- >>> Dee Earley (dee.earley(a)icode.co.uk) >>> i-Catcher Development Team >>> >>> iCode Systems >> >>
|
Next
|
Last
Pages: 1 2 3 Prev: Understanding relocation information Next: Find out who has file open for writing? |