borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (How could i set picturebox or textbox to the left side of filedialog ??)Next Topic (Question about NetUserEnum) New Topic New Poll Post Reply
AndreaVB Forum : API : how to develop a custom shape button??
Poster Message
tri_inn
Level: Regular User
Registered: 26-08-2002
Posts: 395

icon how to develop a custom shape button??

I want to know how to develop a custom shape button, let me tell you what I want to do say suppose I have one form and one command button and I have assign a picture to that button after that I want to call some api function by which the background and border of the command button will be transparent but the assigned picture to the command button will be visible in this I can make my command button will have a shape of a picture assigned to it.
That is why I want to know which API functions is required for that but I don't want to use any custom control. Simply I want to do it by calling some API function. If possible please provide easy ready-made sample.

27-08-2002 at 09:51 AM
View Profile Send Email to User Show All Posts | Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Re: how to develop a custom shape button??

i have not found my file on this, but surely you will need the createrndrgn api, and others i will post later, unless someone can post earlier.

____________________________
Been busy trying to take a second degree <--it's not working out...

17-10-2002 at 07:19 AM
View Profile Send Email to User Show All Posts | Quote Reply
ajeesh
Level: Guest

icon Re: how to develop a custom shape button??

quote:
tri_inn wrote:
I want to know how to develop a custom shape button, let me tell you what I want to do say suppose I have one form and one command button and I have assign a picture to that button after that I want to call some api function by which the background and border of the command button will be transparent but the assigned picture to the command button will be visible in this I can make my command button will have a shape of a picture assigned to it.
That is why I want to know which API functions is required for that but I don't want to use any custom control. Simply I want to do it by calling some API function. If possible please provide easy ready-made sample.


14-11-2002 at 06:57 AM
| Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Re: how to develop a custom shape button??

pardon me, tri_inn, i was not able to find apis to give that effect to an existing command button.  

why don't you want to make your own custom control?

it's not that complicated, and it won't eat so much of your time making it.  

____________________________
Been busy trying to take a second degree <--it's not working out...

14-11-2002 at 04:39 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : API : how to develop a custom shape button??
Previous Topic (How could i set picturebox or textbox to the left side of filedialog ??)Next Topic (Question about NetUserEnum) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder