VC++ 把窗口带到最前
//HWND hw; //::SetFocus(hw); //::SetActiveWindow(hw); //::SetForegroundWindow(hw); //::BringWindowToTop(hw); //::AttachThreadInput(GetWindowThreadProcessId(::GetForegroundWindow(),NULL), GetCurrentThreadId(),TRUE); //::SetForegroundWindow(hw); //::AttachThreadInput(GetWindowThreadProcessId(::GetForegroundWindow(),NULL), GetCurrentThreadId(),FALSE);
浙公网安备 33010602011771号