English
Units

fixWindowPos - fixWndPos

 

Georg
Teles
an small Unit, The The position the Fensters into visible area bring or. the window report can. supported several monitors.

Download
' fix window pos - Georg Teles * 03.11.2018
'
' these function brings Window into visible area, with Überbreite / -höhe becomes The
' first Koordinate the current Monitors chosen (Überbreite x = 0 or. The 0-th Koordinate
' Überhöhe y = 0 or. The 0-th Koordinate the current Monitors, where the window itself befindet
' init      - Par. 1: Fensterhandle, if 0 transfer becomes, then becomes lever = %hWNd
'                     ( reads at first times the Coordinates the Fensters one )
' fixwndpos - Par. 1: Fensterhandle, if 0 transfer becomes, then becomes lever = %hWNd
'             Par. 2: fashion: 0 = into visible area fetch / report
'                               ( action vorangehend or because of negativer or. not any more
'                               existierender Coordinates zb. to Grafikkonfiguration into
'                               visible area fetch, after the window positioniert watts )
'                           1 = ausschöießlich on the actually (launch on primären) Monitor verschiebbar
'                           2 / sonstiger worth = spare verschiebbares Window, on others
'                               monitors, korrigiert in the Nachhinein The position in the visible area
' deinit    - no Par., deletes variables
 $u fixWndPos.pcu = fwp_' none point use, there it intern < ?_mon#.?_cbSize& = SizeOf(?_mon#) >
' The Size the Bereiches definiert and is To Fehlern comes !
Set("ErrorLevel", 0)
Window Style 31+512
' Window positionieren
Window (-20),(-20) - 200,100
fwp_init(%hWnd)
User Messages $201
'SetTimer 1000

While 1 = 1

    WaitInput

    If (%Key = 2) | (%Key = 27)

        Break

    EndIf

    ' report with action here: Timer
    'If %wmtimer
    'fwp_fixwndpos(%hWnd, 0) ' fetch in visible area
    'EndIf
    ' report

    If %uMessage = $201

        fwp_fixwndpos(%hWnd, 1)' current Monitor only !
        'fwp_fixwndpos(%hWnd, 2) ' spare positionierbar, korrigiert in the Nachhinein position

    EndIf

EndWhile

'KillTimer
' straighten up
fwp_deinit()
Print "aufgeräumt !"
Sleep 300

XProfan 10.0 FreeProfan XProfan X2 XProfan X3 XProfan X4

Regards

4 kB
Version:1.0
Hochgeladen:11/03/18
Downloadcounter106
Download
 
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

11/03/18  
 




p.specht

super!
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
11/04/18  
 




E.T.
 
XProfan X3
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
11/04/18  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.559 Views

Untitledvor 0 min.
Georg Teles08/11/24
Rolf Koch05/01/22
Axel Berse08/01/19
Stefan8107/24/19
More...

Themeninformationen

this Topic has 3 subscriber:

E.T. (1x)
p.specht (1x)
Georg Teles (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