im writing a little monitor tool that sends a string to another pc
over network every 30 secs.
now i made the "receiver" hacing a window with listgadget.
every 30 secs it receives the string and should display it
by: AddGadgetItem (0,-1,x$)
my problem:
it does display the string _only_ if i move my mouse over the window
(just having it focused or having the mouse pointer on it is not enough),
if i dont move the mouse for eg 2 minutes, and then move over the
window, all "missing" strings are displayed at once...
what am i doin wrong?
what might be an alternative (where i can add a line in intervals and
also scroll?)
thx
muab
gadgetlist not updating?
Can you post some code?
Are you sure that addgadgetitem() is being called when the string is received?
Are you sure that addgadgetitem() is being called when the string is received?
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Code: Select all
Case 2
Buffer = AllocateMemory(0, 1000, 0)
ReceiveNetworkData(ClientID, Buffer, 1000)
x$=PeekS(Buffer)
AddGadgetItem (0,-1,x$)
or try something like this:
Code: Select all
RedrawWindow_(GadgetID(1), 0, 0,#RDW_INTERNALPAINT|#RDW_INVALIDATE|#RDW_ALLCHILDREN)
