English
Forum

Einstellbereich of/ one Trackbar pixel(!)very detect

 

Stephan
Sonneborn
Hello together,

how can one check, where the Schieberegler begins and where it end (means The Pixelwerte)?
DEF CreateTrackBarHTop(5)  CONTROL("msctls_trackbar32","",$54000004,%(2),%(3),%(4),%(5),&(1),NewID(),%HINSTANCE)
VAR LastDlgID& = 10000

PROC NewID

    DECLARE ID&
    LastDlgID& = LastDlgID& + 1
    ID& = LastDlgID&
    RETURN ID&

ENDPROC

CLS
USEPEN 0,1,0
LINE 33,05 - 107,05
LINE 20,50 - 120,50
VAR TBAr&   = CreateTrackBarHTOP(%HWND,20,10,100,30)
VAR TBAr2&  = CreateTrackBarHTOP(%HWND,07,60,126,30)
LOCATE 10,1
PRINT "Weiß someone, How one The position the TICs of/ one TrackBar herausbekommt?\nAlso, on welchem Pixel (!) the Schiebregler begins\nund up to welchem Pixel it goes?"
PRINT "Hier shining it one Delta of 13 Pixeln To his... \nKann to the API-mäßig herausbekommen?"
WAITINPUT
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
04/20/12  
 



have strain none computer with XProfan to hand but have You time with
ControlSpy probiert? i don't know, Perhaps is it this (  [...]  ) or.  [...]  ?
 
04/20/12  
 




Detlef
Jagolski
here ought to everything thereby his circa Trackbars To steer.
simply try.
 
XProfan X2
XProfan X4, PRFellow, Profan2Cpp - Version 2.0c-pre5, Windows 11
04/20/12  
 




Stephan
Sonneborn
Hello your two,

thanks for Tipps!
unfortunately have I not yet The attitude found, with the I The right length take on could and so have I empirisch on The 13 Pixel herangetastet...

@iF: Contol Spy have I yet not yet used. i think, i'll the but in future Change...
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
04/23/12  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.064 Views

Untitledvor 0 min.
Gast.081508/19/24
Uwe ''Pascal'' Niemeier03/31/18
RudiB.02/04/16
E.T.10/12/15
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