Español
Fuente/ Codesnippets

Ausschneiden Createrectrgn Cut Ventana Form Region Setwindowrgn Stamp Ventana

 

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
Declarar x&

Sinestar encargado iskey(2)'rechte Botón del ratón

    x&=Not(x&)
    Case 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))
    Case x&=0 :  FixDLG(%hwnd)
    Waitinput

EndWhile

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

Proc CutRgnDLG

    Parámetros hdl&
    Declarar region&,wRgn&
    wRgn&=RectRgn(0,0,width(hdl&)+100,height(hdl&)+100)

    whileloop 2,%PCount

        region&=@&(&bucle)
        Externo("GDI32","CombineRgn",wRgn&,region&,wrgn&,3)
        DeleteObject region&

    EndWhile

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

ENDPROC

Proc FixDLG

    Parámetros hdl&
    Var wRgn&=RectRgn(0,0,width(hdl&)+100,height(hdl&)+100)
    SetWindowRgn(hdl&, wRgn&, 0)
    DeleteObject wRgn&

ENDPROC


Siehe auch Winform.inc [...] 
 
XProfan X2
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
26.10.2012  
 




Andreas
Miethe


Kennst Si es usted el auch ya ?

51 kB
Hochgeladen:26.10.2012
Ladeanzahl185
Descargar
 
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, Yo bisher no. Sieht wirklich klasse de! Gracias Andreas!
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
26.10.2012  
 



Zum Quelltext


Título del Tema, max. 100 Signo.
 

Systemprofile:

Kein Systemprofil creado. [anlegen]

XProfan:

 Contribución  Font  Smilies  ▼ 

Bitte registro en una Contribución a verfassen.
 

Tema opciones

9.845 Views

Untitledvor 0 min.
p.specht21.11.2021
R.Schneider20.11.2021
Uwe Lang20.11.2021
Manfred Barei19.11.2021
Más...

Themeninformationen

Dieses Thema ha 2 subscriber:

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


Admins  |  AGB  |  Applications  |  Autores  |  Chat  |  Política de Privacidad  |  Descargar  |  Entrance  |  Ayuda  |  Merchantportal  |  Pie de imprenta  |  Mart  |  Interfaces  |  SDK  |  Services  |  Juegos  |  Búsqueda  |  Support

Ein Projekt aller XProfan, el lo son!


Mi XProfan
Privado Noticias
Eigenes Ablageforum
Temas-Merkliste
Eigene Beiträge
Eigene Temas
Zwischenablage
Cancelar
 Deutsch English Français Español Italia
Traducciones

Política de Privacidad


Wir uso Cookies sólo como Session-Cookies wegen el technischen Notwendigkeit y en uns hay no Cookies de Drittanbietern.

Wenn du hier en unsere Webseite klickst oder navigierst, stimmst du unserer Erfassung de Informationen en unseren Cookies en XProfan.Net a.

Weitere Informationen a unseren Cookies y dazu, como du el Kontrolle darüber behältst, findest du en unserer nachfolgenden Datenschutzerklärung.


einverstandenDatenschutzerklärung
Yo möchte no Cookie