Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bcm_setimagelist

Featured Replies

Posted

BCM_SETIMAGELIST

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:

-----------------------------------

BCM_SETIMAGELIST

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

(UINT) BCM_SETIMAGELIST,

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

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

);

Parameters

wParam

Not used; must be zero.

lParam

Pointer to a BUTTON_IMAGELIST structure that contains image list information.

Return Values

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

Requirements

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

Windows 95/98/Me: Unsupported.

Header: Declared in Commctrl.h.

Thanx

I once managed to get it done in C but the finished code just made me puke and I deleted it again :x

Just found a MASM example in my junk code folder :)

ImageButton.zip

  • Author

Thanx , exactly what i needed.

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!

Thanks HVC

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.