| |
|
|
funkheld | Hello, good day. I need please times a graphic-Help for a Armatur with Zeiger. i want following data as Zeigergrafik Show : number1! CompileMarkSeparation {$cleq}
Declare Ende&, SizeOfMem&, hmap&, hMapView&, win&
declare zahl1!,zahl2!,text1&,text2&
'1024 Bytes Speicher
SizeOfMem& = 1024
'Speicherbereich anlegen
hmap& = CreateFileMapping(-1,0,PAGE_READWRITE,0,SizeOfMem&,"MeinSpeicher")
'Zeiger auf Speicherbereich ermitteln
hMapView& = MapViewOfFile(hMap&,$000F001F, 0, 0, 0)
win& = @Create("Window", 0, "Parent", 20, 20, 500,400)
text1&=@Create("Text",win&,"1",20,20,100,20)
text2&=@Create("Text",win&,"2",20,45,100,20)
ende&=1
While Ende&
sleep 5
if isKey(81)
ende&=0
endif
zahl1!=double(long(hMapview&,11))
zahl2!=double(long(hMapview&,16))
settext text1&,str$(@int(zahl1!+0.5))
settext text2&,str$(@int(zahl2!+0.5))
EndWhile
UnmapViewOfFile(hMapView&)
CloseHandle(hMapView&)
End
How can the manage with the the Zeiger and the rounds background, which too with XPSE compiliert go can ?
Thank you.
greeting peter |
|
|
| |
|
|
|
| only so I it correctly. understand...
mean You something like as Exe from this pkg ( [...] ) indicating?
Since there it many ways -
vlt. can You time "malen" as very looks should - thereafter yields itself then mostly a possible simple Solution. |
|
|
| |
|
|
|
funkheld | Jup thanks, so similar. If you Please into both Graphics bewegliche Zeiger reinbringen can. or time a simple method for schilderst. The with the Knobcontrol is of me since not so Begreifbar.
Thank you.
greeting peter
|
|
|
| |
|
|
|
| want You, the on the %displayed hWnd becomes (is simply) or on Dialogen? |
|
|
| |
|
|
|
funkheld | Jup, thanks. first time Please the simple Show. i want time learn How the functions.
Thank you.
greeting peter |
|
|
| |
|
|
|
| want You, the the then turned Zeiger a graphic is or just a line? so one schöner Zeiger would beautiful but you have none uploaded. The should either horizontal or Mouse and Sprite his and would then turned. |
|
|
| |
|
|
|
funkheld | Hello, thanks. simply one line as graphic. Later supplant I the by a graphic.
greeting peter |
|
|
| |
|
|
|
| Have you here ( [...] ) something zurechtgefertigt,
look time whether You something like mean.
Download
|
|
|
| |
|
|
|
funkheld | au..., to the sees Yes cool from and operates Präzise. this is a marvellous basis to that weiterarbeiten.
Vielen Thanks.
greeting peter |
|
|
| |
|
|
|
| |
|
| |
|
|
|
| with manchen Gradzahlen is the spending the turned Zeigers not so qualitative - so The spending always qualitative is müsstest just whom Zeiger as quadratisches Image take off z.B. with 512x512 Pixeln.
|
|
|
| |
|
|
|
funkheld | Hello, iF, get You the whole too with OGL there ? there can indeed beautiful Rotaten with the Zeiger. only should it in 2D his.
Thank you.
greeting peter |
|
|
| |
|
|