Kiti Posted July 4, 2008 Share Posted July 4, 2008 I have 3 questions (at least for the moment, I think I'll add more soon) about listboxes: 1. How can I make a tab's width smaller than the text it contains? 2. How can I use GUICtrlRead for a specific line in the listbox? 3. How can I get the number of lines in the listbox? Thank you for your help! muttley Think outside the box.My Cool Lego Technic Website -- see walking bipeds and much more!My YouTube account -- see cool physics experimentsMy scripts:Minesweeper bot: Solves advanced level in 1 second (no registry edit), very improved GUI, 4 solving stylesCan't go to the toilet because of your kids closing your unsaved important work? - Make a specific window uncloseableCock Shooter Bot -- 30 headshots out of 30 Link to comment Share on other sites More sharing options...
Andreik Posted July 4, 2008 Share Posted July 4, 2008 I have 3 questions (at least for the moment, I think I'll add more soon) about listboxes: 1. How can I make a tab's width smaller than the text it contains? 2. How can I use GUICtrlRead for a specific line in the listbox? 3. How can I get the number of lines in the listbox? Thank you for your help! muttley Q3. #Include <GuiListBox.au3> _GUICtrlListBox_GetCount($hWnd) When the words fail... music speaks. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted July 4, 2008 Share Posted July 4, 2008 1. Maybe _GUICtrlListBox_SetColumnWidth() ?? 2. _GUICtrlListBox_GetText() 3. _GUICtrlListBox_GetCount() And you know what? All this is in the help-file! .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...
Kiti Posted July 4, 2008 Author Share Posted July 4, 2008 (edited) Thank you both! 1. Maybe _GUICtrlListBox_SetColumnWidth() ?? 2. _GUICtrlListBox_GetText() 3. _GUICtrlListBox_GetCount() And you know what? All this is in the help-file! I've searched in the help-file after "GUICtrlCreateListView". There is nothing about the three functions there. How would I know they are called this way ? How would I find them if I don't know their names? Edit: Of course everything is in the helpfile! But there are so many things in the helpfile so you'll never find what you're looking for by guess, if you don't know the name of the function. Edit2: I was refering at listview soory They have such almost identical names . Anyway, now that I know about _GUICtrl[nameOfControl] _ [whatYourelookingFor] is much more easier for me to find what I'm intrested in. Thank you guys! muttley Edited July 4, 2008 by Kiti Think outside the box.My Cool Lego Technic Website -- see walking bipeds and much more!My YouTube account -- see cool physics experimentsMy scripts:Minesweeper bot: Solves advanced level in 1 second (no registry edit), very improved GUI, 4 solving stylesCan't go to the toilet because of your kids closing your unsaved important work? - Make a specific window uncloseableCock Shooter Bot -- 30 headshots out of 30 Link to comment Share on other sites More sharing options...
Andreik Posted July 4, 2008 Share Posted July 4, 2008 Thank you both! I've searched in the help-file after "GUICtrlCreateListView". There is nothing about the three functions there. How would I know they are called this way ? How would I find them if I don't know their names? Edit: Of course everything is in the helpfile! But there are so many things in the helpfile so you'll never find what you're looking for by guess, if you don't know the name of the function. Edit2: I was refering at listview soory They have such almost identical names . Anyway, now that I know about _GUICtrl[nameOfControl] _ [whatYourelookingFor] is much more easier for me to find what I'm intrested in. Thank you guys! You're welcome Kiti! Nobody was born learned. muttley When the words fail... music speaks. 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