English
Source / code snippets

Edit Font Spinedit Udmgetbuddy worth allocate

 
Spinedit Font allocate Edit UDM_GETBUDDY of Andreas Miethe - found on: [...] 

Andreas Miethe

CompileMarkSeparation
Andreas Miethe]
Datum:   24.02.09 10:34
http://www.rgh-soft.de/forum01/read.php?f=7&i=14181&t=13831
Def &True  1
Def &False 0
Def CreateSpinEdit(12) !COMCTL32,CreateUpDownControl
Def &Min 10
Def &Max 1023

Proc SetVal

    Parameters Spin&,Val&
    SendMessage(Spin&,1127,0,Val&)

EndProc

Proc GetVal

    Parameters Spin&
    Return SendMessage(Spin&,1128,0,0)

EndProc

Declare Spin0&, Quit&
windowstyle 520
cls
Spin0&=CreateSpinEdit($540000A6,0,0,0,0,%hwnd,
1000,%hinstance,CreateEdit(%hwnd,,10,10,80,20),&Max,&Min,0)
SetVal(Spin0&,1023)
Var Buddy& = SendMessage(Spin0&,1130,0,0)UDM_GETBUDDY ermittelt das EditControl
Var Font& = Create(FONT,Arial,14,0,0,1,0)
SetFont Buddy&,Font&
Quit& = &False

WhileNot Quit&

    WaitInput

    If %Key = 2

        MessageBox(SpinEdit-Inhalt:  + str$(GetVal(Spin0&)), Ergebnis, 0)
        DeleteObject Font&
        Quit& = &True

    EndIf

EndWhile

End
 
02/24/09  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.472 Views

Untitledvor 0 min.
Jörg Sellmeyer05/24/18
Rainer Hoefs03/10/18
Ernst06/13/16
Heltal02/13/14
More...

Themeninformationen

this Topic has 1 subscriber:

iF (1x)


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