Can anyone give me an example code for a tool window (with pixel dimensions) for the Win32 API?
Thanks
Tool windows are just windows with the WS_EX_TOOLWINDOW extended style:
hWnd = CreateWindowEx(WS_EX_TOOLWINDOW, szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, 100, 100, 500, 400, NULL, NULL, hInstance, NULL);
Note you need to use CreateWindow*Ex* to use extended styles. The above is a 500x400 window at 100,100 on the screen.