| |
|
|
Michael Axtmann | Hi, I have me, to some Search and Probiererei, now still decided here nachzufragen! gives it a Possibility one Profanprogramm, which not any more whom Focus has, by Tastenkombination again into Vordergrund To fetch? if so, How? would be for all hints grateful! Greeting |
|
|
| |
|
|
|
| really should You loudly msdn one Window loudly of/ one setForegroundWindow-
Description not self into Vordergrund bring separate well solely The
Headline glint let. (Behavior of setForegroundWindow if Fremdfenster
active is) nevertheless, so goes it, but whether it yet plainer goes be I I do not sure:
Download external Download
the Window from this example can with Strg+old+a into Vordergrund set go.
{$cleq}
cls
userMessages wm_user+1234
initMyHook()
while 1
waitInput
select uMessage
caseof wm_user+1234
if (&ulParam==128) and (&uwParam==65)//Key a losgelassen?
if iskey(17) and iskey(18)//strg+old?
setWindowPos hwnd=%winleft,%wintop - (%winright-%winleft),(%winbottom-%wintop);-1
setWindowPos hwnd=%winleft,%wintop - (%winright-%winleft),(%winbottom-%wintop);-2
endif
endif
endSelect
wend
nProc initMyHook
return SetWindowsHookEx(13,procAddr(myLowLevelKeyboardHookProc),getModuleHandle(0),0)/*WH_KEYBOARD_LL*/
endproc
nProc myLowLevelKeyboardHookProc(long code,wp,lp)
sendMessage(hWnd,wm_user+1234,long(lp,0),long(lp,8))
return 0
endproc
so this View source with XProfan functions, and if not yet
happen, then must You in your IDE xpse ( [...] ) as Compiler indicate,
there the View source native Profan contains. |
|
|
| |
|
|
|
Michael Axtmann | thanks! have attempts whom Code compilieren. In XProfan have I under "Optionen"-->"Allgemeine Einstellungen" --> "Compiler" --> fogendes association: "C:\XProfanX2\xpse.exe". unfortunately means Profan then, Variable not declared "wm_user".??? |
|
|
| |
|
|
|
| Regards!
then have You presumably not The Tastenkombination uses,
The whom Compiler anwirft - presumably have You The Button for Interpreter uses.
If you not zurecht come then simply again report. |
|
|
| |
|
|
|
Michael Axtmann | Nabend, means Compiler-Button was The right, but nevertheless bekomm ich's not one bestehendes Program integrate... would be a something anfängerfreundlichere Variante imaginable???? Regards |
|
|
| |
|
|
|
E.T. | ... there would me still times the IDE of Michael interested: I work (still) with PrFellow, there come The concise-Keys with XPSE neither clear , (what but not on XPSE lying...) |
|
|
| XProfan X2Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 09/25/12 ▲ |
|
|
|
|
| One integrally small little plainer GEHTS yet, because I once for something like
The keyboardhook.dll ( [...] ) export having:
has in the comparison to previous Variante but whom disadvantage the You ne DLL
mitschleppen become. |
|
|
| |
|
|
|
Michael Axtmann | Hi, genial !!! thanks, The DLL nehm I still gladly with Regards |
|
|
| |
|
|
|
| gladly happen.
If so Topics Done are then Please always as Done Mark under with whom
Topic-Options because erledigte Topics attend then with actually-Topics and
the jeweiligen Forenübersicht in the Rubrik Done. |
|
|
| |
|
|