enzyme42
(enzyme42)
August 25, 2016, 4:24am
1
Thanks for answering my previous question: “Remove maximize button from build window” …
However I was talking about removing the maximize button from the native window not the slate kind …
I’ve found this:
GEngine->GameViewport->GetWindow()->GetNativeWindow()
… but I can find any settings there …
Anyway - Is there a way to disable or remove the native maximize button on build’s window ?
Hello enzyme42,
While the native window is the window you’re looking to edit, slate still owns that window in UE4. Setting this up is part of the construction arguments for SWindow and cannot be changed there after construction. If you need to do it past construction, you can try to get a hold of the HWND in Windows and then change that directly.
enzyme42
(enzyme42)
September 2, 2016, 3:00pm
3
Thanks Matthew - I’ve tried that but with no positive results ;(
Can you please post how to access the HWND from C++ in UE4?
Unfortunately, that’s part of the reason I said “try”. I’m not familiar with trying to do that myself.
enzyme42
(enzyme42)
September 13, 2016, 12:38am
5
I’ll try again and post the results here …
Muzaheed
(ahsan Muzaheed)
May 22, 2017, 8:58am
6
were u able to solve the issue ?
i am also stuck into this issue.
Muzaheed
(ahsan Muzaheed)
May 22, 2017, 10:38am
8
hmm.sad.
can u confirm me if this is the behavior you are getting from shipping build on osx:
?
for my project, anyhow i need to disable switching to window mode. any idea ?
Muzaheed
(ahsan Muzaheed)
May 22, 2017, 11:00am
9
btw,
there is a option in project settings to disable maximizing . but still maximize button gets shown and allows user to switch to window mode.
could it be a bug ?
Muzaheed
(ahsan Muzaheed)
May 22, 2017, 3:11pm
10
is it possible to achieve / do that using binary version of ue4 downloaded from epic launcher ?
enzyme42
(enzyme42)
May 22, 2017, 3:20pm
11
yes however I’m building for windows only not macos x … also I don’t think there’s a way to completely disable windowed mode …
enzyme42
(enzyme42)
May 22, 2017, 3:20pm
12
I’m going to check that out - Thanks … wasn’t there when I first posted about this … maybe it’ll work in windows
enzyme42
(enzyme42)
May 22, 2017, 3:45pm
13
It works on Windows ! Thanks Epic !