change process windows style

Posted by Suriyan Suresh on Stack Overflow See other posts from Stack Overflow or by Suriyan Suresh
Published on 2010-05-07T06:06:58Z Indexed on 2010/05/07 6:18 UTC
Read the original article Hit count: 241

Filed under:
|

I start IE as a process and then i would like to change the following properties of a process.

  1. remove title bar, toolbar of a process (if IE)
  2. set top,left location and size through c#
  3. prevent process from minimizing , i have used the following code but had no luck(find the handle of the process and then pass it to below function)

    public void SetFormOnDesktop(int  hwnd)  
    {  
         int hwndf = hwnd;  
         IntPtr hwndParent = FindWindow("ProgMan", null);  
         SetParent(hwndf, hwndParent);  
    }
    

© Stack Overflow or respective owner

Related posts about c#

Related posts about process