English
Forum

i want The Sendeproc only Call if one Slider moving watts.

 

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
 
05/09/16  
 




Georg
Teles
Hmm how'bout herewith ?
Case (GetFocus(slider_h&) | GetFocus(slider_v&)):Send

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
 
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

05/10/16  
 




funkheld
Hello thanks for Info.

greeting
 
05/10/16  
 




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 &notifywnd. so are You on the secure Page!

Greeting Matthias
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
05/11/16  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.921 Views

Untitledvor 0 min.
RudiB.01/15/22
iF10/31/20
Stefan M. Caillet11/06/19
funkheld07/26/16
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