08-10-2016, 11:14 PM
Dear Gintaras, Let me please extend my inquiry by asking you to comment on the following code, written to populate an ImageList using GetIcon statements:
Function tempf12
It is tested and it works, however I am wondering whether there exists a faster way to do it.
Furthermore, I am wondering whether the above ImageList can be saved as .bmp file on disc, for further access.
Many thanks in advance.
Function tempf12
,__ImageList- il=ImageList_Create(16 16 ILC_MASK|ILC_COLOR32 0 8)
,rep(15) ImageList_ReplaceIcon(il -1 GetIcon(".doc"))
,handle=ImageList_GetIcon(il 5 0)
,SendMessage(id(7 hDlg) BM_SETIMAGE IMAGE_ICON handle)
It is tested and it works, however I am wondering whether there exists a faster way to do it.
Furthermore, I am wondering whether the above ImageList can be saved as .bmp file on disc, for further access.
Many thanks in advance.