{"id":"window--SetWindowMaximized","name":"SetWindowMaximized","owner":"yeho","package":"window","kind":"function","signature":"external SetWindowMaximized(windowHandle handle, bool maximized) returns bool","description":"Set window maximized.","context":"Open, select, inspect, and close native application windows.","parameters":[{"name":"handle","type":"windowHandle","description":"Supply handle as windowHandle."},{"name":"maximized","type":"bool","description":"Supply maximized as bool."}],"returns":"bool","members":[],"tags":["cpu","function","source-example","window","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/window/window.yh","line":123,"sha256":"33d5aaaa49321134dd3cf650fc9960ad6f42e001783530a2bfed1a6e52d776f3"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use SetWindowMaximized","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using window\n\n// Open, select, inspect, and close native application windows.\nwindowHandle handle = windowHandle(1)\nbool maximized = true\nbool result = SetWindowMaximized(handle, maximized)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.window__setwindowmaximized\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"window\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/window\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"7f07d5dbbb6123a335dcec84c80b7ca5d24d2b620db6c99797788b3e5a6a2dca","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=window--SetWindowMaximized","json":"https://demonhunterlabs.com/reference/items/window--SetWindowMaximized.json","markdown":"https://demonhunterlabs.com/reference/text/window--SetWindowMaximized.md"}
