CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: nouman

Search: Search took 0.02 seconds.

  1. Re: How to remove the systray icon of another application

    Hi Hannes!
    It looks I am having a bad luck, tried both of your suggestions, but none of it did the trick for me. :o
    Now, looking for someother possible way of solving this issue.
    Thanks for your...
  2. Re: How to remove the systray icon of another application

    Thanks for sparing your time & giving me different ideas for solving my issue.
    Really, it's because of your help I am able to look & try different techniques for this issue.
    :thumb:
    I had already...
  3. Re: How to remove the systray icon of another application

    Thanks Hannes!
    I had tried using "PostMessage" API method by passing 'WM_CLOSE' to it, it closes the said application.

    PostMessage(HWnd, WM_CLOSE, IntPtr.Zero, IntPtr.Zero)
    Do you know what...
  4. Re: How to remove the systray icon of another application

    I have checked the link.
    I had passed the same handle to showwindow & it is displaying the desired window so there should not be any issue with findwindow statement.
    I had also tried sendmessage...
  5. Re: How to remove the systray icon of another application

    Thanks HanneS!
    I had tried your code but its not working for me.
    I had passed my window's handle i-e; Hwnd to SendMessage.


    SendMessage(HWnd , WM_PAINT, 0, IntPtr.Zero)

    Is it right? or I had...
  6. Re: How to remove the systray icon of another application

    Thanks HanneSThEGreaT!
    May be you are right, because I am not very well aware of how to use 'NOTIFYICONDATA' Structure.
    Here is my code, correct me where I am going wrong.


    Private Const...
  7. How to remove the systray icon of another application

    To restore an application from "minimize to system tray" mode to "Normal" mode (visible) from another application, I am using "Showwindow" method of "user32.dll". The API is working as expected i.e....
Results 1 to 7 of 7





Click Here to Expand Forum to Full Width

Featured