(Win32) Make Nonresizable Windows Minimizable

BlitzMax Forums/BlitzMax Module Tweaks/(Win32) Make Nonresizable Windows Minimizable

taxlerendiosk(Posted 2005) [#1]
In brl.mod/win32maxgui.mod/win32gui/win32window.cpp, change
	if( style&1 ){
		wstyle|=WS_CAPTION|WS_SYSMENU;
		if ( style & 2 ) { wstyle|=WS_MINIMIZEBOX|WS_MAXIMIZEBOX; }
	}else{
		wstyle|=WS_POPUP;
	}

to
	if( style&1 ){
		wstyle|=WS_CAPTION|WS_SYSMENU;
		wstyle|=WS_MINIMIZEBOX;	// Duncan was here
		if ( style & 2 ) { wstyle|=WS_MAXIMIZEBOX; } // Duncan was here
	}else{
		wstyle|=WS_POPUP;
	}



Grisu(Posted 2007) [#2]
Can't BRL include this fix in the module?
Or make in an option (additional flag) for the user to choose from?