| |
|
|
funkheld | Hello, good day. i want Please The data of Slider only Send "proc senden", if of/ one moving watts. How can the Please make ?
Thank you. greeting
Declare ende&,wert&,worth1&,Text$, hFileMap&,zielfenster&,slider_h&,slider_v&
declare pointer#
Struct data = w&, w1&, zk$(32)
dim pointer#,data
proc Send
If hFileMap&
pointer# = FileMap("Map", hFileMap&)
pointer#.w& = wert&
pointer#.w1& = worth1&
pointer#.zk$ = Text$
PostMessage(ZielFenster&, $1000, 0, 0)
EndIf
endproc
windowtitle "slidersend"
window 20,20-300,300
slider_h&=Control("MSCTLS_TRACKBAR32", "Trackbar02",$50000920, 30,40, 200,20, %hwnd, 2011, %hInstance, $00010004)
SendMessage(slider_h&,$0406,0,MakeLong(0,360))
slider_v&=Control("MSCTLS_TRACKBAR32", "Trackbar02",$54000922, 120,80, 20,100, %hwnd, 2011, %hInstance, $00010004)
SendMessage(slider_v&,$0406,0,MakeLong(0,5))
hFileMap& = Create("FileMap", "Test", 32)
hFileMap& = FileMap("Open", "Test")
pointer# = FileMap("Map", hFileMap&)
shell "slider_sprite_colli_filemap.exe"
sleep 500
ZielFenster& = FindWindow("sliderspritecollifilemap")
ende& = 0
whilenot ende&
waitinput
wert&=SendMessage(slider_h&,$0400,0,0)
worth1&=SendMessage(slider_v&,$0400,0,0)
Send
endwhile
FileMap("Close", hFileMap&)
Dispose pointer#
end
|
|
|
| |
|
|
|
Georg Teles | Hmm how'bout herewith ?
trouble here, it Send permanent as long as Fokus on one the both Slider is, there would I yet with the Message, which The Mouse button at release setting, unden - straight no funktionierendes example parat there sry
Hello |
|
|
| |
|
|
|
funkheld | Hello thanks for Info.
greeting |
|
|
| |
|
|
|
Matthias Arlt |
...Message, which The Mouse button at release setting...
with WM_NOTIFY is then NM_RELEASEDCAPTURE (-16) in %notifycode and the Slider-lever in ¬ifywnd. so are You on the secure Page!
Greeting Matthias |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 05/11/16 ▲ |
|
|
|