I have the following class declared:
public partial class MainWindow : Window
And I need to get the actual handle of the window once the wi
In the OnInitialized method the handle has not yet been created. But you are on the right track. If you put your call in the Loaded event the handle will have been created and it should return the correct handle.
OnInitialized
Loaded