change application 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 7:18 UTC
Read the original article Hit count: 184

Filed under:
|

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

  1. remove title bar, toolbar of a application(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);  
    }
    

EDIT 1:
Is it possible to prevent IE context menu and prevent it from showing on taskbar

© Stack Overflow or respective owner

Related posts about c#

Related posts about process