Jump to content

Fileversion and _GUICtrlListView_SetImageList


Recommended Posts

Hi. I have 2 questions:

1. Can #AutoIt3Wrapper_Res_Fileversion be set dynamically ? Something like #AutoIt3Wrapper_Res_Fileversion = $value.

2. I heve this piece of code

Local $hImgList = _GUIImageList_Create()

    _GUIImageList_AddBitmap($hImgList, "$res$\BMPs\prog.bmp")
    _GUIImageList_AddBitmap($hImgList, "$res$\BMPs\error.bmp")
    _GUIImageList_AddBitmap($hImgList, "$res$\BMPs\newer.bmp")
    _GUIImageList_AddBitmap($hImgList, "$res$\BMPs\older.bmp")
    _GUIImageList_AddBitmap($hImgList, "$res$\BMPs\ok.bmp")
    _GUICtrlListView_SetImageList($hListView, $hImgList, 1)

and I added this

#AutoIt3Wrapper_Res_File_Add=$res$\BMPs\prog.bmp
#AutoIt3Wrapper_Res_File_Add=$res$\BMPs\error.bmp
#AutoIt3Wrapper_Res_File_Add=$res$\BMPs\newer.bmp
#AutoIt3Wrapper_Res_File_Add=$res$\BMPs\older.bmp
#AutoIt3Wrapper_Res_File_Add=$res$\BMPs\ok.bmp

How can i use the resources above into _GUIImageList_AddBitmap() ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...