Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Round Button

Status
Not open for further replies.

ameen

Programmer
Jun 24, 2001
32
0
0
IN
Can any one help me to get some suggestion to create round button in VB.
 
You will need to use the CreateEllipticRgn and SetWindowRgn APIs. Remember to delete the regions you create using DeleteObject API after or you will get memory leaks.

The best way would be to create an ActiveX control that displays different pictures or text for up and down states, and apply a round region to this activeX control to make it appear round.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top