using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace ROSBarX { class Program { [Flags()] private enum SetWindowPosFlags : uint { ShowWindow = 0x0040 } [DllImport("user32.dll", SetLastError = true)] static extern bool SetWindowPos(IntPtr Handle, IntPtr HandleAfter, int X, int Y, int W, int H, SetWindowPosFlags Flag); static void Main(string[] args) { while(true) { SetWindowPos((IntPtr)ValueFromWS++GoesHere, (IntPtr)0, 350, 0, 0, 0, SetWindowPosFlags.ShowWindow); } } } }