Minimizing Windows
-
Hi, I tried to minimize the application using below code:
HWND lHwnd = FindWindow("Shell_TrayWnd",NULL);
SendMessage(lHwnd,WM_COMMAND,MIN_ALL,0);I am confused with, Will it work with other language OS because I used hard code "Shell_TrayWnd"?
What do you mean by "other language OS"? Unix? Mac? Or do you mean other language, like C#?
Best wishes, Hans
-
What do you mean by "other language OS"? Unix? Mac? Or do you mean other language, like C#?
Best wishes, Hans
-
Hi, I tried to minimize the application using below code:
HWND lHwnd = FindWindow("Shell_TrayWnd",NULL);
SendMessage(lHwnd,WM_COMMAND,MIN_ALL,0);I am confused with, Will it work with other language OS because I used hard code "Shell_TrayWnd"?
Are you trying to minimize the taskbar?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
What do you mean by "other language OS"? Unix? Mac? Or do you mean other language, like C#?
Best wishes, Hans
-
Hi, I tried to minimize the application using below code:
HWND lHwnd = FindWindow("Shell_TrayWnd",NULL);
SendMessage(lHwnd,WM_COMMAND,MIN_ALL,0);I am confused with, Will it work with other language OS because I used hard code "Shell_TrayWnd"?
I have Windows 7 x64 in Spanish and the line:
HWND lHwnd = FindWindow("Shell_TrayWnd",NULL);
In my computer returns:lHwnd=0x0002008c {unused=0 }
Hope it helps.