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.