MrVietA2 Posted September 18, 2011 Share Posted September 18, 2011 Hi everyone ! I want to get image from file .dll and put it in GUI, how i can do this ? Please help me ! Thanks ! P/s : My english is bad Link to comment Share on other sites More sharing options...
MrVietA2 Posted September 18, 2011 Author Share Posted September 18, 2011 (edited) Oh, i found it #include "GUIConstantsEx.au3" #include "StaticConstants.au3" #include "resources.au3" $gui = GUICreate("example ",400,400) $pic1 = GUICtrlCreatePic("",0,0,400,150) ; set image to picture control from external DLL resource _ResourceSetImageToCtrl($pic1, "#17", $RT_BITMAP, @ScriptDir & "\ResDll.dll") GUISetState(@SW_SHOW) While 1 If GUIGetMsg() = -3 Then Exit Wend Thanks every one ! Edited September 18, 2011 by MrVietA2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now