WINDOW_CHILD Tweak

BlitzMax Forums/BlitzMax Module Tweaks/WINDOW_CHILD Tweak

Helios(Posted 2006) [#1]
I needed MDI support in my next app so i fixed the bug that stopped it re-drawing in the win32maxgui source, its not perfect as theres some activation problems and gadgets attrched to the parent window will screw it up but it works on the whole.

How to change;
1.Open up the Mod/Brl.Mod/win32maxgui.mod/wi32gui/win32window.cpp file
2. Change the line
wstyle=(wstyle&~WS_POPUP)|WS_CHILD;

to read
wstyle=(wstyle&~WS_POPUP)|WS_CHILD|WS_CLIPSIBLINGS;

3. Rebuild modules :)

I have no idea how linux or mac works though so dont even ask <_<.


FBEpyon(Posted 2006) [#2]
Well I can't fogure out how to rebuild the modules, so untell I do looks like code to me.. lol


SebHoll(Posted 2006) [#3]
Install MinGW, set your environment variables and use the command to "Rebuild All Modules" in the IDE. There are plenty of threads in the forums which describe how to do this. Have a look around...


Seb


FBEpyon(Posted 2006) [#4]
okay got it all figured out, works great I just wish I could have the Child Windows look active.. Im looking into that now..