
Are there any samples (or documentation) how to use it?
Is it still useable with TD7.0?
Code: Select all
HANDLE ResourceToHBITMAP(
TEMPLATE imgTemplate, // CTD resource identifier
DWORD dwWidth, // Width of the icon
DWORD dwHeight, // Height of the icon
LPINT lpiType, // Type of the image ( must be IMAGE_ICON = 1)
LONG lRsrvd, // Always must be 0
LPVOID *lpRsrd2 // Always must be 0
)
Code: Select all
HANDLE ResourceToHBITMAP(
TEMPLATE imgTemplate, // CTD resource identifier
DWORD crColorToSearch, // COLORREF value to search and change to
crColorToReplace color ( use -1 to specify a color of the first (top/left)
pixel of the bitmap)
DWORD crColorToReplace, // COLORREF value to replace with
crColorToSearch. Use GetSysColor () to specify system colors.
LPINT lpiType, // Type of the image ( must be IMAGE_BITMAP = 0)
LONG lRsrvd, // Always must be 0
LPVOID *lpRsrd2 // Always must be 0
)
Great !!!
Users browsing this forum: [Ccbot] and 0 guests