المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Similar to CWin::SetForegroundWindow method in CWinAppEx



C++ Programming
02-17-2010, 06:30 PM
Hello,

I'm checking for the "SingleInstanceApplication" thro' EnumProcessModules()and if the process is available then call the TerminateProcess().

I'm looking for an help on SetForegroundWindow() of the application. Is there any method in CWinAppEx for Setting Foreground Window of the application when minimized or starting an application from the shortcut.

Thanks in advance,
Mayur M