# Window Functions

## Giới Thiệu

| Function                                                         | Mô Tả                                       |
| ---------------------------------------------------------------- | ------------------------------------------- |
| [GetWindowText](/gui/window/window-functions/getwindowtext.md)   | Lấy tiêu đề của 1 cửa sổ                    |
| [SetWindowText](/gui/window/window-functions/setwindowtext.md)   | Thay đổi tiêu đề của 1 cửa sổ               |
| [GetClientRect](/gui/window/window-functions/getclientrect.md)   | Lấy thông tin của cửa sổ dưới dạng RECT     |
| [GetDlgCtrlID](/gui/window/window-functions/getdlgctrlid.md)     | Lấy id của một control trong cửa sổ         |
| [GetParent](/gui/window/window-functions/getparent.md)           | Lấy cửa sổ cha của 1 cửa sổ                 |
| [ShowWindow](/gui/window/window-functions/showwindow.md)         | Hiện thị cửa sổ kèm theo kiểu hiển thị      |
| [RunModalWindow](/gui/window/window-functions/runmodalwindow.md) | Hiển thị 1 cửa sổ dưới dạng hộp thoại modal |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.taiamk.pro/gui/window/window-functions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
