Français
Source/ Codesnippets

Ausschneiden Createrectrgn Cut la fenêtre forme région Setwindowrgn Stamp Fenêtre

 

Julian
Schmidt
Mithilfe de Andreas Miethe
def SetWindowRgn(3) !"User32","SetWindowRgn"
def EllipticRgn(4) !"GDI32","CreateEllipticRgn"
def RoundRectRgn(6) !"GDI32","CreateRoundRectRgn"
def RectRgn(4) !"GDI32","CreateRectRgn"
CLS 0
Déclarer x&

WhileNot iskey(2)'rechte Bouton de la souris

    x&=Not(x&)
    Cas x&=1 :  CutRgnDLG(%hwnd,RectRgn(100, height(%hwnd)-70, width(%hwnd)-100, height(%hwnd)-30), RectRgn(100, 90, 180, 170), RectRgn(width(%hwnd)-180, 90, width(%hwnd)-100, 170))
    Cas x&=0 :  FixDLG(%hwnd)
    Waitinput

Endwhile

CutRgnDLG(%hwnd,EllipticRgn(100, 100, width(%hwnd)-100, height(%hwnd)-100))
Waitinput

Proc CutRgnDLG

    Paramètres hdl&
    Déclarer region&,wRgn&
    wRgn&=RectRgn(0,0,width(hdl&)+100,height(hdl&)+100)

    whileloop 2,%PCount

        region&=@&(&loop)
        Externe("GDI32","CombineRgn",wRgn&,region&,wrgn&,3)
        DeleteObject region&

    Endwhile

    SetWindowRgn(hdl&, wRgn&, 1)
    DeleteObject wRgn&

ENDPROC

Proc FixDLG

    Paramètres hdl&
    Var wRgn&=RectRgn(0,0,width(hdl&)+100,height(hdl&)+100)
    SetWindowRgn(hdl&, wRgn&, 0)
    DeleteObject wRgn&

ENDPROC


Siehe aussi Winform.inc [...] 
 
XProfan X2
Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—
Webseite [...] 
26.10.2012  
 




Andreas
Miethe


Kennst du cela aussi déjà ?

51 kB
Hochgeladen:26.10.2012
Downloadcounter185
Download
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
26.10.2012  
 




Julian
Schmidt
Kannte, je bisher pas. Sieht wirklich super aus! merci Andreas!
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—Ë—
Webseite [...] 
26.10.2012  
 



Zum Quelltext


Topictitle, max. 100 marque.
 

Systemprofile:

ne...aucune Systemprofil angelegt. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

s'il te plaît s'inscrire um une Beitrag trop verfassen.
 

Options du sujet

9.850 Views

Untitledvor 0 min.
p.specht21.11.2021
R.Schneider20.11.2021
Uwe Lang20.11.2021
Manfred Barei19.11.2021
plus...

Themeninformationen

cet Thema hat 2 participant:

Julian Schmidt (2x)
Andreas Miethe (1x)


Admins  |  AGB  |  Applications  |  Auteurs  |  Chat  |  protection des données  |  Télécharger  |  Entrance  |  Aider  |  Merchantportal  |  Empreinte  |  Mart  |  Interfaces  |  SDK  |  Services  |  Jeux  |  cherche  |  Support

un projet aller XProfaner, qui il y a!


Mon XProfan
Privé Nouvelles
Eigenes Ablageforum
Sujets-La liste de voeux
Eigene Posts
Eigene Sujets
Zwischenablage
Annuler
 Deutsch English Français Español Italia
Traductions

protection des données


Wir verwenden Cookies seulement comme Session-Cookies à cause de qui technischen Notwendigkeit et chez uns gibt es aucun Cookies de Drittanbietern.

si du ici sur unsere Webseite klickst ou bien navigierst, stimmst du unserer Erfassung de Informationen dans unseren Cookies sur XProfan.Net trop.

Weitere Informationen trop unseren Cookies et en supplément, comment du qui Kontrolle par-dessus behältst, findest du dans unserer nachfolgenden Datenschutzerklärung.


d'accordDatenschutzerklärung
je voudrais keinen Cookie