Quote:
Originally Posted by Cesar82
I don't know if this is the best way to get the handle of the taskbar button.
|
I'm use Application.Handle (Enhanced Inno Setup Compiler).
GetWindowLong(MainForm.Handle, GWL_HWNDPARENT) or GetWindow(MainForm.Handle, 2) is your way

replaced on GetWindowLong(MainForm.Handle, GWL_HWNDPARENT) you right.