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: 186
I start IE as a process and then i would like to change the following properties of a application.
- remove title bar, toolbar of a application(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); }
EDIT 1:
Is it possible to prevent IE context menu and prevent it from showing on taskbar
© Stack Overflow or respective owner