English
Forum

Done: Windows Region with welt slip?

 

KHR
Hello together,

I have a morsel of with the Lupenfunktion herumgespielt.

Klappt too everything so well
CompileMarkSeparation
Lupen_fenster& = @Create(Window,%desktop,lupe,20,20,200,120)
Lupe_rgn&  =  RoundRectRgn(0,0,200,120,18,18)
SetWindowRgn(Lupen_fenster&, Lupe_rgn& , 1)re>

what could I do, circa the Region a welt To give? so that one tappt im dunkeln too sees, if white from weißsem background pictured becomes
 
Gruß
Karl-Heinz
WIN XP home/Pro / XPROFAN 11 / P2CPP
ATMEL + BASCOM Fan
06/01/09  
 




Frank
Abbing
For this Gibts ne API, The is FrameRgn().
 
06/01/09  
 




KHR
thanks Frank

I Have the time so versucht;
CompileMarkSeparation
Def SetWindowRgn(3) !USER32,SetWindowRgn
def RoundRectRgn(6) !GDI32,CreateRoundRectRgn
def RgnBorder(5) !GDI32,FrameRgn
Def CreateSolidBrush(1) ! GDI32,CreateSolidBrush
windowstyle 1136
Lupen_fenster& = @Create(Window,%desktop,lupe,20,20,200,120)
Lupe_rgn&      = RoundRectRgn(0,0,200,120,18,18)
region&        = SetWindowRgn(Lupen_fenster&, Lupe_rgn& , 1)
solidbrush&    = CreateSolidBrush(@rgb(1,1,1))
border&        = RgnBorder(Lupen_fenster&, Lupe_rgn& , solidbrush& ,3 ,3 on>

variables are declared, Window and Lupe functions,
there's no Error Message

but the window/The Region has still none welt.

what mach I wrong??
 
Gruß
Karl-Heinz
WIN XP home/Pro / XPROFAN 11 / P2CPP
ATMEL + BASCOM Fan
06/01/09  
 




Dieter
Zornow
How Frank already wrote
CompileMarkSeparation
a Brush have you got already

Greeting

Dieter
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
06/01/09  
 




Frank
Abbing
The first Parameter of FrameRgn() must well the HDC your Fensters his, not the Fensterhandle.
Have The function yourself too not yet using.
 
06/01/09  
 




Dieter
Zornow
FrameRgn(hdc&,rgn&,sb&,x%,y%)

hdc the Fensters, lever the Region, lever Brush, rahmenbreite, rahmenhöhe

the are The Parameter

Greeting

Dieter
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
06/01/09  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.600 Views

Untitledvor 0 min.
R.Schneider04/04/22
Ju02/24/17
iF09/13/15
Julian Schmidt08/05/13
More...

Themeninformationen



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