English
Source / code snippets

Window Scrolling

 

CompileMarkSeparation
Source wurde am 15.07.2007 aus der MMJ-Quellcodesammlung (Dietmar Horn) in die Babyklappe auf XProfan.Com abgelegt:
Fenster scrollen
Def @Scrollwindow(5) !USER32,ScrollWindow
Declare Schließen&,Rect#,Ton&,Scrollinfo#
Windowstyle 31
Windowtitle Fenster scrollen
Window 0,0-400,400
Let Schließen&=@Createbutton(%Hwnd,Fenster dicht!,20,100,120,30)
Let Ton&=@Createbutton(%Hwnd,Beep,20,360,120,30)

While 0=0

    Waitinput

    If %Scankey=39

        Dim Rect#,16
        Long Rect#,0=0
        Long Rect#,4=0
        Long Rect#,8=%Maxx
        Long Rect#,12=%Maxy
        @Scrollwindow(%Hwnd,+10,0,0,Rect#)
        Dispose Rect#

    Elseif %Scankey=37

        Dim Rect#,16
        Long Rect#,0=0
        Long Rect#,4=0
        Long Rect#,8=%Maxx
        Long Rect#,12=%Maxy
        @Scrollwindow(%Hwnd,-10,0,0,Rect#)
        Dispose Rect#

    Elseif %Scankey=40

        Dim Rect#,16
        Long Rect#,0=0
        Long Rect#,4=0
        Long Rect#,8=%Maxx
        Long Rect#,12=%Maxy
        @Scrollwindow(%Hwnd,0,10,0,Rect#)
        Dispose Rect#

    Elseif %Scankey=38

        Dim Rect#,16
        Long Rect#,0=0
        Long Rect#,4=0
        Long Rect#,8=%Maxx
        Long Rect#,12=%Maxy
        @Scrollwindow(%Hwnd,0,-10,0,Rect#)
        Dispose Rect#

    Elseif @Getfocus(Ton&)

        Beep 1

    Elseif @Getfocus(Schließen&)

        End

    Endif

 href='./../../Function-References/XProfan/wend/'>Wend

 
07/15/07  
 



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

3.249 Views

Untitledvor 0 min.
Thomas Zielinski11/12/21
H.Brill02/10/18
Langer04/09/17
Joerg04/25/16
More...

Themeninformationen

this Topic has 1 subscriber:

unbekannt (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