English
Forum

switch through ALT+TAB prevent

 
- Page 1 -



Walter
X4. Lt Help: Window Style
128 ($0080) - the Program can weder with <Strg-Esc>, <Alt-Tab> yet <Alt-F4> leave go.
I can the program of course not <ALT-F4> terminate, however always through <Alt-Tab> leave.
can I the somehow unterbinden?

windowstyle 128
window %MaxX,%MaxY
declare end%,b%
b%=Create("Button",%hwnd,"Ende",100,100,100,20)
end%=0

whilenot end%
waitinput
case clicked(b%): end%=1
endwhile
end
 
07/01/18  
 



 
- Page 1 -



Jörg
Sellmeyer
with WAY from goes not.
 
XProfan X4
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
07/01/18  
 




p.specht

Thank you.

P.s.: thanks for Reparaturen!
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
07/01/18  
 




Walter
integrally cordial Thanks!
 
07/01/18  
 




Walter
functions by me unfortunately still not.
 
07/02/18  
 




Jörg
Sellmeyer
what functions because not? and which Windowsversion have you got? I Have yet XP and can therefore for höhere versions no testify meet.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
07/02/18  
 




Walter
windows 10
ALT+TAB changes moreover How normally into other Program, where the XProfan-Program weiterläuft what about me again To it zurückwechseln can (sowohl in the Interpreter as well as in the exe).
the %uMessage-incident becomes never triggered.
 
07/02/18  
 



 
- Page 2 -



Jörg
Sellmeyer
Schade. then must You you well still time through iFs Originalpost with XPSE and nProcs durchkämpfen.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
07/02/18  
 




Walter
Yes, make I. Have already began.
thanks anyway!
 
07/02/18  
 



prevent of "Alt+Tab" by Hook functions by me so on XP:

Download
//XProfan 11.2, XPSE
 {$cleq}
/**/
const pNam="Hux v0.1"
createMutex(0,1,pNam)
case getLastError()==183:end
/**/
//if unsichtbares hWnd erwünscht:
/*
windowtitle pNam
windowstyle 80 | 512 | 1024
window 0,0 - 0,0
*/
cls
print "Beenden: \qRollen\q-Taste"
/**/
userMessages wm_user+1234
initMyHook()
/**/

do{

    waitInput
    case (uMessage==wm_user+1234) && (ulparam==0) and (uwparam==145) : break
    print uwparam,ulparam

}

/**/

whileloop 1500,100,-250 {sound loop,10}

/**/
end

nProc initMyHook{

    return SetWindowsHookEx(13,procAddr(myLowLevelKeyboardHookProc),getModuleHandle(0),0)/*WH_KEYBOARD_LL*/

}

nProc myLowLevelKeyboardHookProc(long code,wp,lp){

    sendMessage(hWnd,wm_user+1234,long(lp,0),long(lp,8))
    case (long(lp,0)==20) and (long(lp,8)==0) : return//caps
    case (long(lp,0)==9) : return//tab
    CallNextHookEx(0, code, wp, lp)

}


row "case (long(lp,0)==20) and (long(lp,8)==0) : return" prevented "Caps" to that Test as Spielerei.

"Tab" prevent on my own helps against "Alt+Tab".

Exe Perhaps simply time Windows10 try.

terminate by "Rollen"-Button.

1.164 kB
Hochgeladen:07/03/18
Downloadcounter7
Download
 
07/03/18  
 




Michael
W.
Win 8.1
The task-Umschalter clutching and the program get not with. [...] 

Evtl. wants Microsoft so prevent, the one itself through one not correctly. funktionierendes Program the Multitasking blockiert.

Related:  [...] 
 
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
07/03/18  
 




Michael
W.
The nProc-Variante functions.

becomes Time for a XPSE-Update...
 
Alle Sprachen
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
07/03/18  
 




Walter
The exe functions in windows 10 How desired - ALT+TAB toggles not other Program circa!
 
07/04/18  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

11.176 Views

Untitledvor 0 min.
Stringray01/05/22
iF10/31/20
Rolf Koch09/06/20
QuaraMan07/03/19
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie