| |
|
|
- Page 1 - |
|
Jac de Lad | Hallöle,
I Have time in the XProfan-Help gestöbert and be on a Possibility come, the System Menu one Program To strain. then have I yet what gespostet...then coming what back...anyway have I now the following trouble:
If I the einbaue (with System Menu and so) then react some Buttons on Anklicken twice. the lying on Set(FastMode,1), so much standing solid. now my question: Can with the the System Menu so release, that the Fastmode not eingeschaltet go must, or. how can I the geisterhafte Doppelklicken prevent?
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 11/10/05 ▲ |
|
|
|
|
| |
|
- Page 1 - |
|
| blow it behauptet of/ one it be Beschiss. CompileMarkSeparation {$compiler p8}
{$runtime p8}
$H Windows.ph
$H Messages.ph
$H Commctrl.ph
Proc Systemmenu
Parameters Hwnd&,Message&,Wparam&,Lparam&
If Equ(Message&,~Wm_syscommand)
If Equ(Wparam&,5000)
Messagebox("Programm 1.0","Message",64)
Endif
Endif
Return ~Callwindowproc(Oldwndproc&,Hwnd&,Message&,Wparam&,Lparam&)
Endproc
Declare Up&,Down&,Oldwndproc&,Up%,Plugin&[64],Pcount%
Windowstyle 26
Windowtitle "Testprogramm"
Window 100,100-800,632
Set("FastMode",1)
~Appendmenu(~Getsystemmenu(%Hwnd,0),~Mft_separator,0,0)
~Appendmenu(~Getsystemmenu(%Hwnd,0),~Mft_string,5000,"Über Programm 1.0")
Oldwndproc&=~Getwindowlong(%Hwnd,~Gwl_wndproc)
~Setwindowlong(%Hwnd,~Gwl_wndproc,Procaddr("SystemMenu",4))
Up&=Createbutton(%Hwnd,"/",1,1,194,20)
Down&=Createbutton(%Hwnd,Add$(Chr$($5C),Chr$($2F)),1,580,194,20)
Whileloop 0,13
Plugin&[&Loop]=Control("Button",Str$(&Loop),Add($40008088,If(Lt(Pcount%,9),$10000000,0)),2,Add(Mul(62,&Loop),22),194,60,%Hwnd,Add(1001,&Loop),%Hinstance)
Inc Pcount%
Wend
While 1
Enablewindow Up&,Neq(Up%,0)
Enablewindow Down&,Gt(Sub(Sub(Pcount%,9),Up%),0)
Waitinput
casenot (external("USER32","GetAsyncKeyState",1)<>0) : continue
If Getfocus(Up&)
Hochscrollen
Showwindow(Plugin&[Sub(Up%,1)],1)
Dec Up%
Whileloop Up%,Add(Up%,8)
Setwindowpos Plugin&[&Loop]=2,Add(22,Mul(62,Sub(&Loop,Up%)))-194,60
Wend
Showwindow(Plugin&[Add(Up%,9)],0)
Elseif Getfocus(Down&)
Runterscrollen
Showwindow(Plugin&[Up%],0)
Whileloop Up%,Add(Up%,8)
Setwindowpos Plugin&[Add(&Loop,1)]=2,Add(22,Mul(62,Sub(&Loop,Up%)))-194,60
Wend
Showwindow(Plugin&[Add(Up%,9)],1)
Inc Up%
/a>
Wend
|
|
|
| |
|
|
|
Jac de Lad | Ahh! I merks me. be time on your response tensely. If not goes, must I hold whom entry ausm System Menu again Remove.
beautiful weekend, Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 11/11/05 ▲ |
|
|
|
|
| I mean I Have already answered. |
|
|
| |
|
|
|
Jac de Lad | Huch, there warste again faster as i...I habs ausprobiert: Scrolls not.
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 11/11/05 ▲ |
|
|
|
|
| I hätts net posted ifs net at least by me funzen would. Tjo hm... |
|
|
| |
|
|
|
Michael Wodrich | by me functions both, though without Beschriftung the Buttons... |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 11/11/05 ▲ |
|
|
|
|
| Lol means 3 mutants |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
Michael Wodrich | Hello Jac,
besorge you still time AutoIt3. there there one Tool namens AU3Info.
so can You The Controls ausloten.
with your last Button in the display is correct what not - he is not fortlaufend numeriert. means is in the Programmlogik something wrong.
alas: and the UP-Button has Nr 1000, the DOWN-Button 1001 and the first in the list has too 1001... the last without Scrolling then 1014
Best wishes Michael Wodrich |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 11/11/05 ▲ |
|
|
|
|
Jac de Lad | Well, my eigentliches Program has otherwise no Problems, only that it even at clicking twice reacted. I wanted to now only not To plenty View source offenlegen...
I look time to because of AutoIt3!
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 11/11/05 ▲ |
|
|
|
|
Jac de Lad | Ähhh, hmmm...what should the program really make? So I can now none sinnvollen object for AutoIt3 find what about me white not, what with the my trouble To do has! Please belehre me one better!
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 11/11/05 ▲ |
|
|
|
|
Michael Wodrich | AutoIt is a Fernsteuerer (was is To beginning anyway time) the Tastendrücke and Mausaktionen absetzt circa programs How of Geisterhand To valet. meanwhile has this program terrific zugelegt and can yet More (but really nothing what Profan not too could).
really goes it only around the in the Freeware-pkg encompassed Zusatzprodukt AU3Info, which as TopMost-Window everything indicating what itself To Controls inquire can: lever, Texts, IDs, has info, colours, ...
this Tool is sozusagen one Kiebitz the quick time verrät, which Control straight active is and as tuned is. to Fehlersuche is it terrific helpful, but too interestingly to investigation bestehender Window (How having The the because resolved...).
Best wishes Michael Wodrich |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 11/12/05 ▲ |
|
|
|
|
Jac de Lad | is it normal, I to the take on of FastMode 1 no Dialog-Window More create can?
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 12/01/05 ▲ |
|
|
|