{"id":"window--OpenChildWindow","name":"OpenChildWindow","owner":"yeho","package":"window","kind":"function","signature":"external OpenChildWindow(text title, int width, int height) returns windowHandle","description":"Open child window.","context":"Open, select, inspect, and close native application windows.","parameters":[{"name":"title","type":"text","description":"Supply title as text."},{"name":"width","type":"int","description":"Supply width as int."},{"name":"height","type":"int","description":"Supply height as int."}],"returns":"windowHandle","members":[],"tags":["cpu","function","source-example","window","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/window/window.yh","line":26,"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 OpenChildWindow","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.\ntext title = \"Inventory\"\nint width = 1\nint height = 1\nwindowHandle result = OpenChildWindow(title, width, height)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.window__openchildwindow\"\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":"b8de1357f6d063d05ffb1cf8b48ffe426523e5df55ff7d4feaf847cbf918ad42","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=window--OpenChildWindow","json":"https://demonhunterlabs.com/reference/items/window--OpenChildWindow.json","markdown":"https://demonhunterlabs.com/reference/text/window--OpenChildWindow.md"}
