Minimize the windows explorer exe into system tray

davinder101
davinder101 used Ask the Experts™
on
Hi Experts

            I want to minimize the windows explorer exe in system tray when my system start up.Please tell me the way to do so.Source code will be helpful.


Thanks in Advance
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
The solution to your problem may lie in the msconfig utility.  Go to run and type msconfig and delete all unwanted startup and services from running.  Should fix your problem.
AndyAinscowFreelance programmer / Consultant

Commented:
>>I want to minimize the windows explorer exe in system tray

Is that an option in explorer?  (It isn't in mine).  If not then you can't do it.

Commented:
I don't think it is possible. At least not in the default Windows' configuration.
You may replace your shell with a different one, this is usually a thing like "TweakUI", or something similar.

Regards.
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

Author

Commented:
Problem is If I have a dialog based MFC application I will able to Minimize it in the system tray by using the following code:

                NOTIFYICONDATA niData;
      niData.cbSize = sizeof(NOTIFYICONDATA);
      niData.hWnd = m_hWnd;
      niData.uID = 1;
      niData.uCallbackMessage = WM_TRAY_ICON_NOTIFY_MESSAGE;
      niData.hIcon = m_hIcon;
      niData.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP;
      wcscpy_s(niData.szTip, 127, _T("Tray Me !"));

      Shell_NotifyIcon(NIM_ADD, &niData);

In the same way I want to open the windows explorer on startup through program and  when user closes it it  will minimize into system tray. Is it possible programatically.

Thanks In Advance
AndyAinscowFreelance programmer / Consultant
Commented:
>> Is it possible programatically.

To repeat myself.  If it is not an option built into windows explorer (and it isn't in my op systems) then no.
I am agree with AndyAinscow's comment :
>> Is it possible programatically.

You can make a windows explorer type application from VC++, which can listen to your commands from your programming code.

Here is a link.

http://www.functionx.com/visualc/applications/explorer.htm

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial