Jump to content
Tuts 4 You



Recommended Posts


Been trying to use this in masm but i have failed miserably.

Has anyone played with this before ?

It is used to pin images on top of xp style buttons and it also retains the xp style.

I tried setting the imagelist to the button , but it fails. Instead a get a blank button. i wonder why it fails.

This is from SDK:



The BCM_SETIMAGELIST message assigns an image list to a button control.

To send this message, call SendMessage with the following parameters.

LRESULT SendMessage(

(HWND) hWndControl, // handle to destination control


(WPARAM) wParam, // not used; must be zero

(LPARAM) lParam // (LPARAM) (PBUTTON_IMAGELIST) pbuttonImageList




Not used; must be zero.


Pointer to a BUTTON_IMAGELIST structure that contains image list information.

Return Values

If the message succeeds, it returns TRUE. Otherwise it returns FALSE.


Windows NT/2000/XP: Included in Windows XP and Windows .NET Server.

Windows 95/98/Me: Unsupported.

Header: Declared in Commctrl.h.


Link to comment
Sorry, some required files are missing, if you intended to view a topic, it's possible that it's been moved or deleted. Please go back and try again.

wht wrong! anyone can reupload it!

Link to comment

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
  • Create New...