Is it possible to create a winapi window with only borders
问题 So I'm trying to create a window that only shows its borders and have the rest of the body be see through. I've created a mockup of what that would look like in my head: I tried blitting in a buffer with transparent pixels but that did not have the desired effect. Any ideas ? 回答1: This is possible by passing the WS_EX_NOREDIRECTIONBITMAP 1 extended window style to a call to CreateWindowEx. This prevents the system from allocating a render surface for the window's client area, leaving the