How to Create PictureBox Oval form?
I had oval picture and want to add in picturebox. Problem this that picturebox is square. I need picBox as oval.
Re: How to Create PictureBox Oval form?
This can only be achieved by API calls dealing with regions. What you need can possibly be achieved using the CreateEllipticRgn API call
http://allapi.mentalis.org/apilist/C...ipticRgn.shtml
Better hints can only be given if you explain more about what you want to do.
Re: How to Create PictureBox Oval form?
Quote:
Originally Posted by
WoF
Better hints can only be given if you explain more about what you want to do.
I think i explained clearly what I need. I need circular form picturebox, not square.
Re: How to Create PictureBox Oval form?
Quote:
Originally Posted by
Halosar7
I think i explained clearly what I need. I need circular form picturebox, not square.
Well if you think that then you would be wrong. You first post says you want Oval. the next says Circular these are similar but different so not so clear and oh btw a box is neither oval nor circular it is square or rectangluar which is why it is called a box. ;)
So if you do not want to give more detail I'll leave you with that.
Re: How to Create PictureBox Oval form?
Quote:
Originally Posted by
DataMiser
Well if you think that then you would be wrong. You first post says you want Oval. the next says Circular these are similar but different so not so clear and oh btw a box is neither oval nor circular it is square or rectangluar which is why it is called a box. ;)
So if you do not want to give more detail I'll leave you with that.
Oval and circular not same :eek: In that case i try explane better. You see in vb picturebox form is square.When i want to add picture it must be same form as picturebox. But how to change picturebox form from square to circular? so i can add circular picture.
Re: How to Create PictureBox Oval form?
Halosar7, Did you try what was posted in post #2 ?
That could be the solution to your problem
Re: How to Create PictureBox Oval form?
Quote:
Originally Posted by
jggtz
Halosar7, Did you try what was posted in post #2 ?
That could be the solution to your problem
I try, it not work for me.