Jump to content

Recommended Posts

Posted

I've used the following steps to remove the title bar from an application window. Does anyone know of a combination that will remove the entire frame around the window, leaving the window to appear as a image floating on the desktop?

$hWnd = WinGetHandle("TestApp")
WinSetStyle($hWnd, $WS_POPUPWINDOW + $WS_THICKFRAME, $WS_EX_CLIENTEDGE + $WS_EX_TOOLWINDOW)

Using $MS_BORDER makes a thinner frame, but it is still too much for what I'm trying to achieve.

Thanks for any suggestions.

Posted

I found a way to accomplish it, although probably from some fluke instead of being the correct way. You can add the $WS_EX_WINDOWEDGE extended style to the control to remove the border.

Indeed, that does seem to work. I'll have to test it with some of my other combinations to make certain.

Thanks very much for the response.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...