ThunderRT6FormDC class. The problem is that the child windows have exactly the same class, but they don't respond to messages.I've added a workaround to check if owner class of this window is
ThunderRT6Main which means "it's main window and it may respond". If it's not, I don't send message to this window:
Code: Select all
; Autohotkey
_winClass := WinGetClass(_winId)
switch _winClass {
case "ThunderRT6FormDC":
; Exclude XYplorer child windows:
; main window have "ThunderRT6Main" owner
_ownerId := DllCall("GetWindow", "ptr", _winId, "uint", 4)
_ownerClass := WinGetClass(_ownerId)
if (_ownerClass != "ThunderRT6Main")
continue
. . .
}
SendMessage(..., _winId)
XYplorer Beta Club