| |
|
|
- 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 |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
 Jörg Sellmeyer | |
|
| |
|
|
|
 p.specht
 | Thank you.
P.s.: thanks for Reparaturen! |
|
|
| XProfan 11Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'... | 07/01/18 ▲ |
|
|
|
|
 Walter | integrally cordial Thanks! |
|
|
| |
|
|
|
 Walter | functions by me unfortunately still not.  |
|
|
| |
|
|
|
 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. |
|
|
| |
|
|
| |
|
- 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!  |
|
|
| |
|
|
|
 | 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. |
 |
|
| |
|
|
|
 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... |
|
|
| |
|
|
|
 Walter | The exe functions in windows 10 How desired - ALT+TAB toggles not other Program circa! |
|
|
| |
|
|