tariq6000
asked on
minimise the application
Hi Experts,
I want to minimise the outlook application whenever i lauch my application.
I want to minimise the outlook application whenever i lauch my application.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
just add the code from the second comment to your applications startup code.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
I have capture the handle of running application.How can i minimise the application through application handle.
I used EnumProcesses(),EnumProces sModules() function.
I have capture the handle of running application.How can i minimise the application through application handle.
I used EnumProcesses(),EnumProces
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Forced accept.
Computer101
EE Admin
Computer101
EE Admin
HWND h = FindWindow(NULL, L"Inbox - Microsoft Outlook");
if(h != NULL)
SendMessage(h, WM_SYSCOMMAND, SC_MINIMIZE, NULL);
else
std::cout << "Cannot Find the window." << std::endl;