/
window.html
34 lines (29 loc) · 1.28 KB
/
window.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<h5>WINDOW, WND</h5>
<br>
<p></p>
<br>
<section id="syntax" class="my-5">
<h5>Syntax</h5>
<pre><code>
window.is_taskbar // Returns true if the window handle is for the Taskbar window
window.is_desktop // Returns true if the window handle is for the Desktop window
window.is_explorer // Returns true if the window handle is for the Explorer window
window.is_tree // Returns true if the window handle is for the Side window
window.is_edit // Returns true if the window handle is for the Edit menu
window.is_start // Returns true if the window handle is for the Win+X menu
window.send(name, msg, wparam, lparam) // Search for the window by name and send the specified message
window.post(name, msg, wparam, lparam) // Search for the window by name and send the specified message without waiting
window.send(null, msg, wparam, lparam) // Send the specified message to current window.
window.post(null, msg, wparam, lparam) // Send the specified message without waiting to current window.
window.command(command) // Send WM_COMMAND to current window.
window.command(command, name) // Search for the window by name and send the command to it.
window.handle
window.name
window.title
window.owner
window.parent
window.parent.handle
window.parent.name
window.is_contextmenuhandler
</code></pre>
</section>