createwindowex

How do you get CreateWindowEx() to create the window on a specific monitor?

I've determined that I can use GetSystemMetrics(SM_CMONITORS) to query the number of attached monitors, but is their any way to control what monitor CreateWindowEx() uses for the window? ...

C# creating a sticking windows on desktop with transperancy

Hello all, Long title, but simple problem. I am trying to let a window stick to the destop (or pin), I can do this like this: [DllImport("User32.dll")] static extern IntPtr FindWindow(String lpClassName, String lpWindowName); [DllImport("user32.dll", SetLastError = true)] static extern IntPtr FindWindowEx(IntPtr hwndPa...

How to create a Microsoft Windows Child window using JNA

Hi, I have spent some time trying to create a child window of an existing window by using the following piece of code on JNA (Java Native Access) but I guess it is pretty much the same with every other programming language trying to use Windows API. Here is my declaration of CreateWindowsExA : public int CreateWindowExA(int i, Strin...