Re: Pixmap problem maybe ,maybe not.

new topic     » topic index » view thread      » older message » newer message

don cole wrote:
> 
> Hello Everbody,
> 
> Does anybody know why?
> 
> pixmap2 = create( Pixmap, "", Win ,left,   top, Right, Bottom , 0 )
> 
> No matter what values I put in left and top.
> 
> Let's say left=10
>           top=50
> 
> When I
> 
> ext=getRect(pixmap2) 
> 
> I get.
> 
> ext[1]=0
> ext[2]=0
> 
> I this normal ?

Yes. Pixmap do not exist on the screen at anytime therefore a position is not
meaningful and is ignored. A pixmap is an area of RAM that is used to hold an
image but the image is not automatically displayed anywhere. To display a pixmap
you must bltblt() it to a displayable control - eg. a Bitmap or a window's
background.


-- 
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu