Aktonius Posted December 26, 2011 Share Posted December 26, 2011 If i use controlgetpos it will only return the visible listview size, is it somehow possible to get the entire size of listview and with that i mean the width and hight from the first to last item. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted December 26, 2011 Share Posted December 26, 2011 Looks like _GUICtrlListView_GetViewRect() does that .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Aktonius Posted December 26, 2011 Author Share Posted December 26, 2011 Thanks for help AdmiralAlkex but seems its not returning any values, i guess since its custom control and not standard winapi listview Perhaps there is a getviewrect for controls which could respond to this call? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted December 26, 2011 Share Posted December 26, 2011 (edited) I don't know. Maybe you could use something from GuiScrollBars UDF (GuiScrollBars Management in helpfile) (assuming there are scrollbars around the control). Edited December 26, 2011 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Aktonius Posted December 26, 2011 Author Share Posted December 26, 2011 will check this, thanks 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