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: 238
I start IE as a process and then i would like to change the following properties of a process.
- remove title bar, toolbar of a process (if IE)
- set top,left location and size through c#
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