Type: Posts; User: nouman
Search took 0.01 seconds.
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...
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.
I had already...
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...
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...
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...
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.
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....
Click Here to Expand Forum to Full Width