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 can i get the username of the user using a process ???)Next Topic (what if not WM_DRAWITEM?) New Topic New Poll Post Reply
AndreaVB Forum : API : plz check this subclassed command button
Poster Message
toughcoder
Level: Guest


icon plz check this subclassed command button

Greetings every1,
i want to subclass the command button and paint a picture on it. Also i want to draw a focus rect on it. But i dont know which message to catch first. I want to make something like a skinned button. Plz help me. Use the attached project (.zip file) for an understanding. Thanx in advance.

____________________________
Attached:
project.zip 4 KB (Downloads: 3)

10-07-2004 at 08:12 PM
| Quote Reply
Beltira
Level: Protégé

Registered: 04-08-2004
Posts: 4
icon Re: plz check this subclassed command button

WM_DRAWITEM is the message you want for this.  You'll have to draw the whole thing however, its not that tough, especially not in VB.

____________________________
When I find my code in times of trouble,
Friends and colleagues come to me,
Speaking words of wisdom:
"Code in C."

04-08-2004 at 07:04 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : API : plz check this subclassed command button
Previous Topic (how can i get the username of the user using a process ???)Next Topic (what if not WM_DRAWITEM?) 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