Hi,
I would like to display my form with the edges rounded. They should not be sharp edges. Any suggestions?
Thanks.
Printable View
Hi,
I would like to display my form with the edges rounded. They should not be sharp edges. Any suggestions?
Thanks.
Check this page http://www.allapi.net/vbasic/source.php , there is an example on how to create an irregular shaped form, the name is region.zip.
Hope this helps.
You can check out this tutorial, documented with working examples (written by a great author, ok maybe not):
http://www.planetsourcecode.com/xq/A...s/ShowCode.htm
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
Any window can be set to any predefined shape with the SetWindowRgn() API call.
You create a region with CreateRectRgn(), CreateRoundRectRgn(), CreatePolyRgn() or CreateElipticRgn()
Hope this helps,
Duncan
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.
I have used a product called TYPICAL_FormShaper. It allows you to make a form or control the shape of any bitmap. I'd recommend it highly.
www.typicalsoftware.com