Skip to content

Commit

Permalink
Fix GetParent call
Browse files Browse the repository at this point in the history
  • Loading branch information
HotKeyIt committed Mar 7, 2017
1 parent 1ded855 commit 4c97f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TT.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ TT_Show(T,text:="",x:="",y:="",title:="",icon:=0,icon_:=1,defaulticon:=1){
{
if InStr(A_LoopField,"ToolbarWindow32"){
ControlGet, hWndToolBar, hWnd,, %A_LoopField%, ahk_id %hWndTray%
WinGetClass, sClass,% "ahk_id " GetParent(hWndToolBar)
WinGetClass, sClass,% "ahk_id " DllCall("GetParent","PTR",hWndToolBar)
If (sClass = "SysPager")
Break
}
Expand Down

0 comments on commit 4c97f0e

Please sign in to comment.