Contents - Index - Top


LoadFromFile

Interface AntViewContextMenuIcon

 

Type: Method

Parameters: String sFileName

Returns: Boolean

 

Load a menuitem icon from an image file. The image file types supported are: .bmp, .ico and .png

Returns True if the image was loaded successfully or false if not loaded.

 

Examples:

VB6 - Custom Context Menu example

 

Introduced in AntView release 2.0.567

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 11/05/2025