Well ... I just tried it. I replaced my
/pleasedonotcrash/;
before the DoEvents() call with
Win32::GUI::PeekMessage (0, 0, 0);
and guess what ... it crashes.
Like I said, there IS a bug in the xs somewhere and when the circumstances
are right (nah ... wrong!) then it will crash the script and tear
>In a very busy loop, I keep calling
>return -1 if Win32::GUI::DoEvents () < 0;
Harald, I profess to know nothing, but I use a tight, infinite
while loop that calls "gui_listen" each iteration. gui_listen is just:
sub gui_listen {
# anyone there?
Win32::GUI::PeekMessage(0,0,0);
OK, this is killing me. I need help from someone with GUI.xs eyes ... Aldo?
In a very busy loop, I keep calling
return -1 if Win32::GUI::DoEvents () < 0;
To be able to click and have the program react (especially to Abort_Click or
Alt+F4)
Every once in a blue moon, I get the infamous "the memo
If all you want to do is read the whole excel sheet, here's how I go about
it without OLE.
The only thing that keeps annoying me is that even though I specify
FIRSTROWHASNAMES=0,
with my Excel drivers, it still won't return the topmost row. But reading
huge files is
not an issue - all it takes is t
I am finding that MS-Excel does not shut down if I read my entire spreadsheet
of 4550 rows with Win32::OLE. But if I read 500 rows and then close Excel and
reopen it and read the next 500 rows (keeping track of where I left off) and
continue this way to the end, then Excel closes down fine. Not
"Piske, Harald" wrote:
>
> This is not a question, I just wanted to share a solution. When you have a
> treeview with a lot of entries (a hundred base nodes with dozens of branches
> each) and do a $Main->Tree->Clear (), this can clog up the CPU for a
> considerable time. Here's what's much faster
I know I can select items based on their index with
$MainWindow->Listview->Select($index) but how do I unselect it (without
clicking on it)?
Jonathan
This is not a question, I just wanted to share a solution. When you have a
treeview with a lot of entries (a hundred base nodes with dozens of branches
each) and do a $Main->Tree->Clear (), this can clog up the CPU for a
considerable time. Here's what's much faster (up to 100 times, depending on
th
8 matches
Mail list logo