Accusoft NotateXpress 13
NoteIcon Property
Description
Gets and sets a handle to a custom icon associated with the Notetool.
Property Type
Read-write property
Syntax
Visual Basic
Public Property NoteIcon As Long
Return Type
The handle to the note icon.
Remarks

This enables the application to override the default icon NotateXpress uses to display the NoteTool.

Make sure that the icon does not go out of scope, as the application controls ownership of the icon.

This property should be set once as its associated with the NotateXpress control.

Example
'YouwillneedtoprototypetheLoadImagecall
PrivateConstIMAGE_ICON=1
PrivateConstLR_LOADFROMFILE=&H10
PrivateDeclareFunctionLoadImageLib"user32"Alias"LoadImageA"(ByValhInstAsLong,ByVallpszAsString,ByValun1AsLong,ByValn1AsLong,ByValn2AsLong,ByValun2AsLong)AsLong

PrivateSubSetNoteIcon_Click()
NotateXpress1.NoteIcon=LoadImage(App.hInstance,"c:\\images\\newnoteicon.ico",IMAGE_ICON,0,0,LR_LOADFROMFILE)
EndSub
See Also

NotateXpress Object  | NotateXpress Members  | User Interaction

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback