Strict Framework brl.blitz Import maxgui.win32maxguiex Local W = 400 Local H = 400 Local X = ( ClientWidth ( Desktop ( ) ) - W ) / 2 Local Y = ( ClientHeight ( Desktop ( ) ) - H ) / 2 Global Window:TGadget = CreateWindow ( "Window" , X , Y , W , H , Desktop ( ) , WINDOW_TITLEBAR | WINDOW_RESIZABLE ) W = 200 H = 200 X = ( ClientWidth ( Window ) - W ) / 2 Y = ( ClientHeight ( Window ) - H ) / 2 Global SubWin:TGadget = CreateWindow ( "SubWin" , X , Y , W , H , Window , WINDOW_TITLEBAR | WINDOW_RESIZABLE | WINDOW_CHILD ) Global Ending AddHook EmitEventHook , Hook While Not Ending WaitSystem Wend Function Hook:Object ( id , data:Object , context:Object ) Local Event:TEvent = TEvent ( data ) Select Event.source Case Null Case Window If Event.id = EVENT_WINDOWCLOSE Ending = True EndIf EndSelect Return data EndFunctionproduces on my windows (XP):

The title bar isn't colored blue, even if I click on it.
However other applications using child windows like Microsoft Photo Editor do color their child windows' title bar blue