# Posting a Message when Magnifier Window Moves

Posting Message when the Magnifier Window Moves  You can use the C1Magnify.MessageWhenMove property to post a message to the attached control when the Magnifier Window is moving. The Default value is Mouse Move.

## Content



### Posting Message when the Magnifier Window Moves

You can use the [C1Magnify.MessageWhenMove](/componentone/docs/win/online-touchtoolkit/) property to post a message to the attached control when the Magnifier Window is moving. The Default value is **Mouse Move**.

*   None
*   Mouse Move
*   Mouse Left Button Down

The **C1Magnify.Move** event is available to implement custom action.

In the default value, you can select text when the Magnifier Window moves on the TextBox. Use the following code to move the caret on the textbox in the same case.

```vbnet
Imports C1.Win.TouchToolKit
 
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
    C1Magnify1.SetEnableMagnifier(TextBox1, True)
    C1Magnify1.MessageWhenMove = MessageWhenMove.LeftDown
End Sub
```

```csharp
using C1.Win.TouchToolKit;
 
private void Form1_Load(object sender, EventArgs e)
{
    C1Magnify1.SetEnableMagnifier(textBox1, true);
    C1Magnify1.MessageWhenMove = MessageWhenMove.LeftDown;
}
```