Jump to content
Tuts 4 You
Sign in to follow this  
starzboy

Owner Draw Button !.....highlight

Recommended Posts

starzboy

i have a bitmap image and i have a buttonover it......

and there is another bitmap over the button !

When the button(bitmap) is clicked a message box opens......!

When i click the button.....i want the button(bitmap) to get highlighted !

I have tried WM_CTLCOLORBN......but i dont get what i want !

How do i proceed with this !

Thanx in adavnce !

Edited by starzboy (see edit history)

Share this post


Link to post
Ziggy

There are at least 3 examples of button coding in the MASM package for bitmap and ownerdrawn buttons.

I've also attached an example of about 20 button styles all written in MASM.

Have fun.

Z

Buttons.zip

Share this post


Link to post
starzboy

Thanx a lot Ziggy !

I wanted button Style B3......and its a bit crammed up in here !

I need only the part Mouseover button.....the button is lighted up when the mouse is overit !

Ziggy can you please explain only this button to me !

Thanx !

Edited by starzboy (see edit history)

Share this post


Link to post
Loki

starzboy, the code is there... dig into it and research it.

Its not that difficult.... you just need to play around. Try a few things and if you get nowhere, post some code with what you have managed so far.

Edited by FaTaL_PrIdE (see edit history)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×
×
  • Create New...