---
title: "AviWriter..::.OptionsDialogParentHandle Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviWriter_OptionsDialogParentHandle.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# AviWriter.OptionsDialogParentHandle Property 
 
Gets/sets the HWND of the window which should be a parent of the options dialog displayed by a writer.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)
 
## Syntax
  
```
Public Property OptionsDialogParentHandle As IntPtr
```
 
```csharp
public IntPtr OptionsDialogParentHandle { get; set; }
```
 
### Property Value
A value which contains the HWND of the options dialog parent window.
 
## Remarks
  
Most typically this value should be equal to the handle of the main form of your application. You can also set it to **null**. In this case the options dialog will be opened as an independent window (it will be visible in the task bar).
 
Note, this property is meaningful only if you set the [ShowOptionDialog](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviWriter_ShowOptionDialog.htm.md) to **true**.
 
**Note** 
You should set this value **before** you open the writer object. You cannot change it when the writer is already opened!
   
## See Also

### Reference

- [AviWriter Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviWriter.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
- [AviWriter.ShowOptionDialog](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviWriter_ShowOptionDialog.htm.md)
