how can i get the main window without use the GetForegroundWindow()?
what i need is, when i create the instance of label, is get the parent automatic(in these case the main window).