Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
プロセスオブジェクトがフォーカスされていることを確認する方法は? c++ od c# コードで返信してください よろしくお願いします。
GetForegroundWindow() に基づいてこのコードを使用できます
var process = GetForegroundWindow(); if (process != IntPtr.Zero) { return true; // he has focus }