jeudi 5 mars 2015

make another application full screen : windows message


Vote count:

0




can somebody throw light on how we can make another application fullscreen. I tried making apps fullscreen by sending double click message to them using:



[DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
public static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint cButtons, UIntPtr dwExtraInfo);


But double click make only limited apps fullscreen like video playing applications. Also by googling i got how to make an application look like maximized by:



[DllImport("user32.dll", SetLastError = true)]
static extern bool MoveWindow(IntPtr hWnd, int X, int Y, int Width, int Height, bool Repaint);


What is the common windows message which is to be send to application to make them fullscreen.



asked 46 secs ago







make another application full screen : windows message

Aucun commentaire:

Enregistrer un commentaire