English
Source / code snippets

Controls yourself Topics draw

 

Frank
Abbing
ex XP. Klappt too with some others Control-Types.
CompileMarkSeparation
Declare rect#,x&,con&,a&,b&
Dim rect#,20
Randomize
Window 0,0-%maxx,%maxy
con&=Create(choicebox,%hwnd,,0,0,0,0)  Klappt auch mit anderen Controls, z.B. Button, Hscroll usw.
x&=External(uxtheme.dll, GetWindowTheme, con&)

Whileloop 1000

    a&=Rnd(%maxx-140)
    b&=Rnd(%maxy-160)
    Long rect#,0=a&,b&,a&+Rnd(120),b&+Rnd(120)
    External(uxtheme.dll, DrawThemeBackground, x&, %hdc2, Rnd(16), Rnd(16), rect#, 0)

Wend

External(uxtheme.dll, CloseThemeData, x&)
Repaint
WaitInput
Dispose rect#
End
 
06/01/08  
 




Frank
Abbing
The uxtheme.dll there first ex XP. the should Tools intercepting, z.B. with:

If Val($winver)>5
Else
EndIf
 
06/01/08  
 




Jac
de
Lad
what has the for a sense?
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
06/01/08  
 




Frank
Abbing
Jac
what has the for a sense?


You can you z.B. on simple point one XP-Style-welt draw let.
conventional Controls can you yet plainer characters, z.B. with DrawFrameControl(%hdc2, rect#, DFC_BUTTON, DFCS_BUTTONPUSH | DFCS_FLAT )
 
06/01/08  
 



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.808 Views

Untitledvor 0 min.
H.Brill07/10/18
Peter Max Müller11/14/17
Marc Bonus06/23/16
Magda08/31/14
More...

Themeninformationen

this Topic has 2 subscriber:

Frank Abbing (3x)
Jac de Lad (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