• 0

[C++]borderless windows


Question

i tried to find a way to get rid of windowborders (windowframe?) and scrollbars.

it's not about create a program without borders or scrollbars but apply these settings for ALL windows like we can set the colors and sizes of the elements in Display Properties or a tool like 3DCC and DisplaySet.

i thought there might be some hidden registry settings to hide windowborders (i thought it should be the same like ButtonHilight, ButtonLight, ButtonShadow, ButtonDkShadow for setting the colors of the default window 3D look)

but there are no possibility to hide any of the non-client area windowelements.

maybe this thread is dumb but it would be fun to customize Windows on a new way.

well, i investigated a lot on this thing and i've found:

the SetWindowLong function.

something like this:

SetWindowLong(hWnd, GWL_STYLE, GetWindowLong(hWnd, GWL_STYLE) & ~WS_BORDER);

but it doesn't work for all windows without a .dll that intercepts window creation messages.

if there's a c++ developer reading this thread and would help me to try coding this small app (because i'm an absolute beginner), please reply!

thanks in advance

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Next time, can you put in the language in the title of your post it just make it easier to help you..

Like:

[C++] borderless windows

and Good Luck! ;)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.