From: Jacob S. <sch...@ro...> - 2009-09-09 20:03:25
|
Sorry for sending this to the list, but I couldn't finding any other way of contacting the author of the vpython embedding code. On the website it claims: [quote] Remove Caption and Frame For real docking we want to remove the caption and the frame of the VPython window, so the user can't control the buttons and mouse actions on the caption and frame-borders. In windows this is not possible at all, because the frame settings can only be set at the time of creation of the window, of which we've no control at all. But with a trick we can realize the same effect, by the correct positioning and sizing of the window in a container. [/quote] But in reality it is quite plausible to change the caption and frame-borders in windows after the window is created. Google SetWindowLong and check out all of the constants that start with WS in the win32api (or MSDN) SetWindowLong allows you to change the style dword of a window after it has been created. Jacob Schmidt |