English
Forum

How setting one a Slider with the worth per Tick and How one reads it from?

 
- Page 1 -



funkheld
Hello, good day.

How setting one Please a Slider with the worth per Tick and How one reads it from?

Thank you.
greeting
 
04/30/16  
 



 
- Page 1 -



Michael
W.
really corresponds to the TrackBar the Slider.

moreover then here couple leads  [...] 

The first Source can then using and the TrackBar there be installed.

P.s.: there The Profan-Forums Yes of Date search go can, can over Date any to put well find. simply
profane suchworte


prompt.
 
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
04/30/16  
 




funkheld
where can Please The values reading , How so one Slider looks can ?

Thank you.
greeting
 
04/30/16  
 




Michael
W.
The best fountain is really always MSDN [...] 

with Date Chrome:
- Rechtsklick
- "Übersetzen in Deutsch" dial
o d e r
- in the Adresszeile on The weißen letters into black Kästchen clicking (rights Page (if Language not german))

[OFFTOPIC]I faith, Yoda speaks in the Original english version perfektes english. The German Translation watts then but on The speedy with the Microsoft-Translator undertaken...[/OFFTOPIC]
 
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
04/30/16  
 




HofK
i'm The demand not integrally clear, but if it so reicht, How I it with XProfan 11.2 Free realized have, could I the Quelltextschnipsel time raussuchen:

See  [...]   [...] 



thereby have I The Skale nichtlinear configures.
 
04/30/16  
 




funkheld
Thank you.
How do I get now on the numbers of whom Textkonstanten?

Thank you.
GRuss
 
04/30/16  
 



 
- Page 2 -



funkheld
[...] 

here stand Yes The Textnamen from the variables for Slider.

$54000002 these values need I zb.

Thank you.
greeting
 
04/30/16  
 




Michael
W.
well Internet search. In MSDN standing "commctrl.h". means to this File sought and the Content angeschaut.
the war's already.


TBS_AUTOTICKS 1
TBS_VERT 2
TBS_HORZ 0
TBS_TOP 4
TBS_BOTTOM 0
TBS_LEFT 4
TBS_RIGHT 0
TBS_BOTH 8
TBS_NOTICKS 16
TBS_ENABLESELRANGE 32
TBS_FIXEDLENGTH 64
TBS_NOTHUMB 128
WM_USER $400
TBM_GETPOS (WM_USER)
TBM_GETRANGEMIN (WM_USER+1)
TBM_GETRANGEMAX (WM_USER+2)
TBM_GETTIC (WM_USER+3)
TBM_SETTIC (WM_USER+4)
TBM_SETPOS (WM_USER+5)
TBM_SETRANGE (WM_USER+6)
TBM_SETRANGEMIN (WM_USER+7)
TBM_SETRANGEMAX (WM_USER+8)
TBM_CLEARTICS (WM_USER+9)
TBM_SETSEL (WM_USER+10)
TBM_SETSELSTART (WM_USER+11)
TBM_SETSELEND (WM_USER+12)
TBM_GETPTICS (WM_USER+14)
TBM_GETTICPOS (WM_USER+15)
TBM_GETNUMTICS (WM_USER+16)
TBM_GETSELSTART (WM_USER+17)
TBM_GETSELEND (WM_USER+18)
TBM_CLEARSEL (WM_USER+19)
TBM_SETTICFREQ (WM_USER+20)
TBM_SETPAGESIZE (WM_USER+21)
TBM_GETPAGESIZE (WM_USER+22)
TBM_SETLINESIZE (WM_USER+23)
TBM_GETLINESIZE (WM_USER+24)
TBM_GETTHUMBRECT (WM_USER+25)
TBM_GETCHANNELRECT (WM_USER+26)
TBM_SETTHUMBLENGTH (WM_USER+27)
TBM_GETTHUMBLENGTH (WM_USER+28)
TBM_SETTOOLTIPS (WM_USER+29)
TBM_GETTOOLTIPS (WM_USER+30)
TBM_SETTIPSIDE (WM_USER+31)
TBM_SETBUDDY (WM_USER+32)
TBM_GETBUDDY (WM_USER+33)
TBM_GETUNICODEFORMAT 8198
TBM_SETUNICODEFORMAT 8197

THUMB is here incidentally The Bezeichnung for Schieberegler.
 
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
04/30/16  
 




Michael
W.
there many the required values in "commctrl.h" stand can You these too through name use.

bind the two Header-Files with one:
 $H <dein way To xprofan>\\INCLUDE\\windows.ph
 $H <dein way To xprofan>\\INCLUDE\\commctrl.ph

and instead of z.B. $403 becomes then written ~TBM_GETTIC. The Tilde is important around the Konstanten To mark.

The large values in hex. are The Window-Styles  [...] 
there with 0x........L written and XProfan with $........
The spots are then The values (The of 0-9 u. A-F weg)
 
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
04/30/16  
 




Michael
W.
...and nachgereicht...

If you in the Help time to
Control


seek, then are there already many values aufgelistet.

and David, uns' iF, has indeed what fine on camp...  [...] 
(though it z.B. the wm_user not auflöst and the users self calculate can)
 
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
04/30/16  
 




funkheld
thanks for Help.

These values versteh I do not of Slider:
slider_v&=Control("MSCTLS_TRACKBAR32", "Trackbar02",$54000002, 30,30, 30,200, %hwnd, 2011, %hInstance, $00010004)

-2011
-$54000002
-$00010004

How share which Please on?
and where set I this zb mere:
~TBM_SETLINESIZE

Thank you.
greeting
 
05/06/16  
 




Jörg
Sellmeyer
The 2011 is the ItemID, The You spare dial can. you should on it respect, that they not of/ one of Profan begot ID kollidiert.
Lies you moreover time in the Help whom Text To ItemID through.

The Stilkonstanten setting You on whom two to put in the function one.
The vordere is the general windows-Stilkonstante. The back is specific for the jeweilige Control.
The 2 in $54000002 can zB. a fat welt for the element mean (ohjne it now very to know).
You can Stile through Pipe join:

slider_v&=Control("MSCTLS_TRACKBAR32", "Trackbar02",$54000002, 30,30, 30,200, %hwnd, 2011, %hInstance, $00010004 | ~STILMESSAGE)
~TBM_SETLINESIZE against it is a Message, The You by SendMessage on the Contol send.

usually so:
SendMessage(meincontrol&,~TBM_SETLINESIZE,0,10)
there must one sometimes herumprobieren.

it helps too very, The Forumssuche To bemühen, and itself others Source moreover to examine.
The Search to "Trackbar" bring zB a Posting, the you evtl etliche your ask erspart had.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05/06/16  
 




funkheld
Thank you.

so integrally is me with the whom the vorderen and back Constante not clear.

slider_v&=Control("MSCTLS_TRACKBAR32", "Trackbar02",$54000002, 30,30, 30,200, %hwnd, 2011, %hInstance, $00010004)

If I these zb complete lane let, functions it nevertheless : $00010004

Thank you.
greeting
 
05/06/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

24.926 Views

Untitledvor 0 min.
RudiB.01/08/22
iF10/31/20
Helmut07/17/18
Jörg Sellmeyer05/15/18
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