Just tried to change my application's window title only to find appTitle is actually a global in bmax. I searched the index but could find no equivilent?
Anyone know of a way to change it?
Anyone know of a way to change it?
Extern "win32" Function SetWindowText(hwnd, lpString:Byte Ptr) = "SetWindowTextA@8" Function GetActiveWindow:Byte Ptr() End Extern Function WindowCaption(title:string) SetWindowText(Int(GetActiveWindow()),title.ToCString()) End Function Graphics 800,600,0 WindowCaption "test" While Not KeyHit(KEY_ESCAPE) Wend