1. Re: Pixmap problem maybe ,maybe not.

Derek Parnell wrote:
> 
> 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

Thanks for clearing that up Derek,

Don Cole

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu