starzboy Posted August 19, 2006 Posted August 19, 2006 (edited) 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 August 19, 2006 by starzboy
Ziggy Posted August 19, 2006 Posted August 19, 2006 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.ZButtons.zip
starzboy Posted August 19, 2006 Author Posted August 19, 2006 (edited) 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 August 19, 2006 by starzboy
Loki Posted August 21, 2006 Posted August 21, 2006 (edited) 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 August 21, 2006 by FaTaL_PrIdE
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now