Automationuser Posted November 29, 2013 Share Posted November 29, 2013 Hi All, _GUICtrlListView_GetTextColor returns -16777216 for all the colors. Am I missing something? $HWD= ControlGetHandle("ABC","",200) $Color=_GUICtrlListView_GetTextColor($HWD) please help Link to comment Share on other sites More sharing options...
Beege Posted November 29, 2013 Share Posted November 29, 2013 You need to pass the handle to the listview $hListView = GUICtrlCreateListView("", 2, 2, 100, 100) $Color=_GUICtrlListView_GetTextColor($hListView) Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
Automationuser Posted November 29, 2013 Author Share Posted November 29, 2013 I am trying to fetch the text color from external application which contains list view. I am fetching the handle of list view $HWD= ControlGetHandle("ABC","",200) Link to comment Share on other sites More sharing options...
Beege Posted November 29, 2013 Share Posted November 29, 2013 Well in that case, that's what your missing then. The code written to work with controls created by autoit. Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator 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