Jump to content

Only 4096 GUI Controls per window?


Recommended Posts

I have been writing a search engine (as some of you may already know) and i noticed that when i search for a file and it appears more than 4096 controls are created. There is a search result control created for every search result. I was therefore wondering if there is anyway around this restriction other than simply creating a new GUI? Is there a way i can get around this using some other method. My current script performs the GUICtrlCreateListViewItem() function every time a search result is found and adds it to the current list. Can anyone help me? I really want to find a way around this limitation.

"So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire

Link to comment
Share on other sites

Hi,

If you are looking for a workaround, look at the SQL last link in my signature.

Consider modifying my ListView based on GUIListView with SQL database.

It only uses Excel and OWC View (additionally) if they are installed; not necessary.

it can handle , say, 500,000 rows, one screen [choose 1 to 4000 rows at a time as you need] at a time, easily findable.

It sorts them rapidly after clicking on the column for sort order.

It can rapidly export current screen view to an Excel file.

It can rapidly export whole database to OWC. [easily fixed for over 63,000 if you need the 272,000 available]

If you click on any table ,it will produce an Excel chart based on last 2 columns selected [Control-click a column, then another], in that table .

If you click on a table you have named with "Graph" in the title, it will produce an Excel chart based on columns 2 and 3 in that table you have (rapidly) queried from the main table.

If you click on a table you have named with "Compare" in the title, it will produce an Excel chart based on columns 2,3,4,5 in that table you have (rapidly) queried from the main table.

Let me know if it suits you..

Best, Randall

[You could either import your data to this, after completion, from a CSV file, or modify the UDF to do it one line at a time; let me know if you want to collaborate..]

Edited by randallc
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...