Jump to content

CoffeeKid

Members
  • Posts

    13
  • Joined

  • Last visited

About CoffeeKid

  • Birthday 02/09/1974

Profile Information

  • Location
    California

CoffeeKid's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. It worked! Guess I need to RTFM :"> _FileWriteLog ( "C:\tv.txt", "$TVM_GETCOUNT_dllcall_[0] = " & $tvmcount[0] ) 2004-12-17 15:01:27 : $TVM_GETCOUNT_dllcall_[0] = 405 2004-12-17 15:02:18 : $TVM_GETCOUNT_dllcall_[0] = 721 Thanks everybody! Easter Bunny and Santa are real, right?
  2. Gettin' no luv from this either. I keep getting <null> from the dllcall. 2004-12-17 08:25:02 : $TVM_GETCOUNT_dllcall = 2004-12-17 08:25:04 : $TVM_GETCOUNT_dllcall = #include <File.au3> Dim $s Dim $i Dim $hwnd Dim $tvmcount ;Dim $TVM_GETCOUNT = 0x1100 + 5 Dim $TVM_GETCOUNT = 0x1105 WinWaitActive ( "Ad Rate Rules" ) Do ;wait until i really have the handle $hwnd = ControlGetHandle("Ad Rate Rules","","TTreeView1") Until $hwnd <> "" MsgBox(1,"",$hwnd) Do $tvmcount = DllCall("user32.dll","int","SendMessage","hWnd",$hwnd,"int",$TVM_GETCOUNT,"int", 0,"int", 0) _FileWriteLog ( "C:\Temp\test_treeview.txt", "$TVM_GETCOUNT_dllcall = " & $tvmcount ) Sleep( 2000 ) Until $i = 1 Could it be that Valik and this-is-me are right?!?! Next thing your going to tell me the Easter bunny isn't real either.
  3. Since this is a tree view I would need to use TVM_GETCOUNT. Found the api on MSDN but not the value of TVM_GETCOUNT.
  4. kewl. This should come in handy soon.
  5. How can I see if a TreeView is still loading data? I was looking at ControlCommand to see if there was command like "IsLoading" or something like that. Only thing i can see was "IsEnabled" and "IsVisible". They both return 1. Stupid of me to even check of course it enabled and visible... IT'S LOADING!. #include <File.au3> Dim $s Dim $i Do ; check enabled $s = ControlCommand ( "MyRules", "text", "TTreeView1", "IsEnabled", "" ) _FileWriteLog ( "C:\Temp\test_treeview.txt", "IsEnabled = " & $s ) if $s <> 1 then MsgBox( 1, "TreeView Check", "TreeView is not enabled" ) ; check visible $s = ControlCommand ( "MyRules", "text", "TTreeView1", "IsVisible", "" ) _FileWriteLog ( "C:\Temp\test_treeview.txt", "IsVisible = " & $s ) if $s <> 1 then MsgBox( 1, "TreeView Check", "TreeView is not Visible") Sleep( 2000 ) Until $i = 1 Any Ideas?
  6. Nice! Time to get a book on win32 api. Recommend any books?
  7. Is there a api call to delete an existing font? I've ran into problems installing a ATM font over an existing older one.
  8. Here's the one I use... I added the new functions from 103 autoit300_103.txt
×
×
  • Create New...