Enable or disable

xiaoxiao2021-03-06  41

Procedure TFORM1.BT1Click (Sender: TOBJECT);

VAR

Wint, WINM: Integer;

Begin

WINM: = FindWindow (NIL, 'mad at me ");

Wint: = FindWindowEx (WINM, 0, NIL, 'See you can't listen to ");

Windows.SetParent (Wint, Self.handle);

EnableWindow (WINT, TRUE);

Windows.SetParent (Wint, WINM);

END;

As for why I use setParent. . The answer is to find it yourself. What is the difference between removal and not going.

转载请注明原文地址:https://www.9cbs.com/read-55900.html

New Post(0)