Skip to content

Commit d3daa15

Browse files
the following are the extended window styles
1 parent a942978 commit d3daa15

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+104
-102
lines changed

desktop-src/DirectShow/using-windowless-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Because the VMR does not have its own window, it must be notified if it need to
184184
3. [**WM\_SIZE**](https://msdn.microsoft.com/library/ms632646(v=VS.85).aspx) or [**WM\_WINDOWPOSCHANGED**](https://msdn.microsoft.com/library/ms632652(v=VS.85).aspx): Recalculate the position of the video and call [**IVMRWindowlessControl9::SetVideoPosition**](/previous-versions/windows/desktop/api/Vmr9/nf-vmr9-ivmrwindowlesscontrol9-setvideoposition) to update the position, if needed.
185185
186186
> [!Note]
187-
> The default handler for the [**WM\_WINDOWPOSCHANGED**](https://msdn.microsoft.com/library/ms632652(v=VS.85).aspx) message sends a [**WM\_SIZE**](https://msdn.microsoft.com/library/ms632646(v=VS.85).aspx) message. But if your application intercepts **WM\_WINDOWPOSCHANGED** and does not pass it to [**DefWindowProc**](https://msdn.microsoft.com/library/ms633572(v=VS.85).aspx), you should call **SetVideoPosition** in your **WM\_WINDOWPOSCHANGED** handler, in addition to your **WM\_SIZE** handler.
187+
> The default handler for the [**WM\_WINDOWPOSCHANGED**](https://msdn.microsoft.com/library/ms632652(v=VS.85).aspx) message sends a [**WM\_SIZE**](https://msdn.microsoft.com/library/ms632646(v=VS.85).aspx) message. But if your application intercepts **WM\_WINDOWPOSCHANGED** and does not pass it to [**DefWindowProc**](https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-defwindowproca), you should call **SetVideoPosition** in your **WM\_WINDOWPOSCHANGED** handler, in addition to your **WM\_SIZE** handler.
188188
189189
 
190190

desktop-src/Intl/ime-messages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.date: 05/31/2018
88

99
# IME Messages
1010

11-
The operating system sends IME window messages to the window procedure of an application when certain events occur that affect the IME windows. For example, the operating system sends the [**WM\_IME\_SETCONTEXT**](wm-ime-setcontext.md) message to the application when a window is activated. IME-unaware applications pass these messages to the [DefWindowProc](https://msdn.microsoft.com/library/ms633572(v=VS.85).aspx) function, which sends them to the corresponding default IME window. IME-aware applications either process these messages or forward them to their own IME windows.
11+
The operating system sends IME window messages to the window procedure of an application when certain events occur that affect the IME windows. For example, the operating system sends the [**WM\_IME\_SETCONTEXT**](wm-ime-setcontext.md) message to the application when a window is activated. IME-unaware applications pass these messages to the [DefWindowProc](https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-defwindowproca) function, which sends them to the corresponding default IME window. IME-aware applications either process these messages or forward them to their own IME windows.
1212

1313
Your application can direct an IME window to carry out a command, for example, change the position of a composition window, by using the [**WM\_IME\_CONTROL**](wm-ime-control.md) message. The IME notifies the application about changes to the composition string by using the [**WM\_IME\_COMPOSITION**](wm-ime-composition.md) message, and about general changes to the status of the IME windows by sending the [**WM\_IME\_NOTIFY**](wm-ime-notify.md) message.
1414

desktop-src/Intl/imr-querycharposition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Returns a nonzero value if the application fills the [**IMECHARPOSITION**](/wind
4141

4242
## Remarks
4343

44-
An application that draws the composition string itself, instead of relying on the IME, is responsible for filling in all the members of the [**IMECHARPOSITION**](/windows/win32/api/imm/ns-imm-imecharposition) structure. Otherwise, the application should pass the command to [**DefWindowProc**](https://msdn.microsoft.com/library/ms633572(v=VS.85).aspx) or [**ImmIsUIMessage**](/windows/desktop/api/Imm/nf-imm-immisuimessagea) if it has its own IME user interface window.
44+
An application that draws the composition string itself, instead of relying on the IME, is responsible for filling in all the members of the [**IMECHARPOSITION**](/windows/win32/api/imm/ns-imm-imecharposition) structure. Otherwise, the application should pass the command to [**DefWindowProc**](https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-defwindowproca) or [**ImmIsUIMessage**](/windows/desktop/api/Imm/nf-imm-immisuimessagea) if it has its own IME user interface window.
4545

4646
## Requirements
4747

desktop-src/Intl/status--composition--and-candidates-windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.date: 05/31/2018
1010

1111
The status, composition, and candidates windows form the user interface for the IME. The status window indicates that the IME is open and provides the user with the means to set the conversion modes. The composition window appears when the user enters text and, depending on the conversion mode, either displays the text as entered or displays converted text. The candidates window appears in conjunction with the composition window. It contains a list of "candidates" (alternative characters) for the selected character or characters in the composition window. The user can scroll through the candidates list and select the desired characters, then return to the composition window. The user can compose the desired text in this way until the composition string is finalized and the window is closed.
1212

13-
The IME sends the composed characters to the IME-aware application in the form of [**WM\_IME\_CHAR**](wm-ime-char.md) or [**WM\_IME\_COMPOSITION**](wm-ime-composition.md)/GCS\_RESULT messages. If the application does not process these messages, the [**DefWindowProc**](https://msdn.microsoft.com/library/ms633572(v=VS.85).aspx) function translates them into one or more [**WM\_CHAR**](https://msdn.microsoft.com/library/ms646276(v=VS.85).aspx) messages.
13+
The IME sends the composed characters to the IME-aware application in the form of [**WM\_IME\_CHAR**](wm-ime-char.md) or [**WM\_IME\_COMPOSITION**](wm-ime-composition.md)/GCS\_RESULT messages. If the application does not process these messages, the [**DefWindowProc**](https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-defwindowproca) function translates them into one or more [**WM\_CHAR**](https://msdn.microsoft.com/library/ms646276(v=VS.85).aspx) messages.
1414

1515
By default, the operating system automatically creates and manages status, composition, and candidates windows for text input requirements. For many applications, this default processing is sufficient. These applications rely entirely on the operating system for IME support and are said to be "IME-unaware" because they are unaware of the many tasks the operating system carries out to manage the IME windows.
1616

desktop-src/Intl/wm-ime-char.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The repeat count, scan code, extended key flag, context code, previous key state
6969

7070
Unlike the [**WM\_CHAR**](https://msdn.microsoft.com/library/ms646276(v=VS.85).aspx) message for a non-Unicode window, this message can include double-byte and single-byte character values. For a Unicode window, this message is the same as WM\_CHAR.
7171

72-
For a non-Unicode window, if the WM\_IME\_CHAR message includes a double-byte character and the application passes this message to [**DefWindowProc**](https://msdn.microsoft.com/library/ms633572(v=VS.85).aspx), the IME converts this message into two WM\_CHAR messages, each containing one byte of the double-byte character.
72+
For a non-Unicode window, if the WM\_IME\_CHAR message includes a double-byte character and the application passes this message to [**DefWindowProc**](https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-defwindowproca), the IME converts this message into two WM\_CHAR messages, each containing one byte of the double-byte character.
7373

7474
## Requirements
7575

desktop-src/Intl/wm-ime-composition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ This message has no return value.
106106

107107
An application should process this message if it displays composition characters itself. Otherwise, it should send the message to the IME window.
108108

109-
If the application has created an IME window, it should pass this message to that window. The [**DefWindowProc**](https://msdn.microsoft.com/library/ms633572(v=VS.85).aspx) function processes this message by passing it to the default IME window. The IME window processes this message by updating its appearance based on the change flag specified. An application can call [**ImmGetCompositionString**](/windows/desktop/api/Imm/nf-imm-immgetcompositionstringa) to retrieve the new composition status.
109+
If the application has created an IME window, it should pass this message to that window. The [**DefWindowProc**](https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-defwindowproca) function processes this message by passing it to the default IME window. The IME window processes this message by updating its appearance based on the change flag specified. An application can call [**ImmGetCompositionString**](/windows/desktop/api/Imm/nf-imm-immgetcompositionstringa) to retrieve the new composition status.
110110

111111
If none of the GCS\_ values are set, the message indicates that the current composition has been canceled and applications that draw the composition string should delete the string.
112112

desktop-src/Intl/wm-ime-endcomposition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This message has no return value.
3636

3737
An application should process this message if it displays composition characters itself.
3838

39-
If the application has created an IME window, it should pass this message to that window. The [**DefWindowProc**](https://msdn.microsoft.com/library/ms633572(v=VS.85).aspx) function processes this message by passing it to the default IME window.
39+
If the application has created an IME window, it should pass this message to that window. The [**DefWindowProc**](https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-defwindowproca) function processes this message by passing it to the default IME window.
4040

4141
## Requirements
4242

desktop-src/Intl/wm-ime-keydown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ An application should return 0 if it processes this message.
6969

7070
## Remarks
7171

72-
An application can process this message or pass it to the [**DefWindowProc**](https://msdn.microsoft.com/library/ms633572(v=VS.85).aspx) function to generate a matching [**WM\_KEYDOWN**](https://msdn.microsoft.com/library/ms646280(v=VS.85).aspx) message.
72+
An application can process this message or pass it to the [**DefWindowProc**](https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-defwindowproca) function to generate a matching [**WM\_KEYDOWN**](https://msdn.microsoft.com/library/ms646280(v=VS.85).aspx) message.
7373

7474
## Requirements
7575

desktop-src/Intl/wm-ime-keyup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ An application should return 0 if it processes this message.
6969

7070
## Remarks
7171

72-
An application can process this message or pass it to the [**DefWindowProc**](https://msdn.microsoft.com/library/ms633572(v=VS.85).aspx) function to generate a matching [**WM\_KEYUP**](https://msdn.microsoft.com/library/ms646281(v=VS.85).aspx) message.
72+
An application can process this message or pass it to the [**DefWindowProc**](https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-defwindowproca) function to generate a matching [**WM\_KEYUP**](https://msdn.microsoft.com/library/ms646281(v=VS.85).aspx) message.
7373

7474
## Requirements
7575

desktop-src/Intl/wm-ime-select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This message has no return value.
5555

5656
An application that has created an IME window should pass this message to that window so that it can retrieve the keyboard layout handle to the newly selected IME.
5757

58-
The [**DefWindowProc**](https://msdn.microsoft.com/library/ms633572(v=VS.85).aspx) function processes this message by passing the information to the default IME window.
58+
The [**DefWindowProc**](https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-defwindowproca) function processes this message by passing the information to the default IME window.
5959

6060
## Requirements
6161

0 commit comments

Comments
 (0)