View Single Post
  #11  
Old 13-10-2020, 11:31
Sergey3695 Sergey3695 is offline
Registered User
 
Join Date: Mar 2013
Location: Russia
Posts: 86
Thanks: 43
Thanked 76 Times in 42 Posts
Sergey3695 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
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.

Last edited by Sergey3695; 13-10-2020 at 12:03.
Reply With Quote