I need help with how to attack the following function.
FIRST:
I have a listview. When I click a particular cell I want it to activate a function that will look in a 1D array at all the numbers contained in it. I then want it to seek out the lowest number that is NOT in the array, and if there is no number available then increment by one based on the max number, and then populate the listview cell with that number, and then also insert that number into the array, so now the next time I
Or maybe some low level code:
#include <WinAPIDiag.au3>
Global $hListView, $cListView
Global $tData = DllStructCreate('int Data[20000]')
$hMain = GUICreate('Sample code', 400, 400)
$cListView = GUICtrlCreateListView('Numbers', 10, 10, 380, 380, 0x0C, 0x21) ; LVS_SINGLESEL, LVS_SHOWSELALWAYS, LVS_EX_GRIDLINES, LVS_EX_FULLROWSELECT
$hListView = GUICtrlGetHandle($cListView)
GUISetState(@SW_SHOW, $hMain)
FillStruct($tData)
LoadSomeTe