what i am doing wrong ?Function OnTimer
${Unless} $tips <> 0
System::Call USER32::CreateWindowEx(i0x00000008,t"tooltips_class32",i,i0x80000000,i,i,i,i,i,i,i0,i)i.s
Pop $tipS
${EndUnless}
System::Alloc 16
Pop $0
System::Call USER32::GetCursorPos(ir0)
System::Call *$0(i.r1,i.r2)
System::Free $0
System::Call USER32::ChildWindowFromPointEx(i $HWNDPARENT, ir1, ir2, i 0)i.R7 #should work, but not working at all
;System::Call USER32::WindowFromPoint(ir1,ir2)i.R7 #working, but not for disabled windows
${If} $R7 == $our_btn
StrCpy $R1 "test"
System::Call *(i0x28,i0x010,i$our_btn,i0x409,i,i,i,i,i0,tR1)i.R1
SendMessage $tipS 1028 0 $R1
SendMessage $tipS 1033 0 $R1
SendMessage $tipS 1025 1 0
SendMessage $tipS 1041 1 $R1
System::Free $R1
System::Call USER32::LoadCursor(i,i32649)i.s
System::Call USER32::SetCursor(is)
${Else}
SendMessage $tipS 1025 0 0
${EndIf}
FunctionEnd
problem with system plugin
Hi all, i am trying to get "window" under current cursor position, i found working example which work as i need, it using WindowFromPoint api function, but does not work for disabled windows, i read in msdn what i need another api function to get handle of disabled window ChildWindowFromPointEx, but it does not work for me, code follows: