Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

HIconFromFileMBS(IconFile as Folderitem, IconID as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Windows System Tray MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: Creates a Windows Icon Handle for an icon loaded fromt he given icon file.
Notes:
What image depths are used and supported depends on the Windows version.
IconID = 0 points to the first icon in the file.
Returns 0 on failure.

The icon file can be .ico, .exe, .dll or similar files with windows icon resource.
This function is useful for declares where you have to pass a HICON parameter.

Feedback, Comments & Corrections

HIconFromPicturesMBS(Icon as picture, Mask as picture) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Windows System Tray MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: Creates a Windows Icon Handle with the given pictures.
Notes:
What image depths are used and supported depends on the Windows version.
Returns 0 on failure.
This function is useful for declares where you have to pass a HICON parameter.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Win Plugin.




Links
MBS Xojo Plugins