وعليكم السلام
جرب التعديل
جرب التعديل
PHP كود :
Dim hWndMsgBox, hWndButton As Long
hWndMsgBox = FindWindow(nothing, "dx Selector")
If hWndMsgBox Then hWndButton = FindWindowEx(hWndMsgBox, 0&, nothing, "Specific")
If hWndButton Then SendMessage(hWndButton, BM_CLICK, 0&, 0&)
If hWndMsgBox Then hWndButton = FindWindowEx(hWndMsgBox, 0&, nothing, "OK")
If hWndButton Then SendMessage(hWndButton, BM_CLICK, 0&, 0&)
