How detect when user clicks on GDI+ graphic? I am trying to make my own window control. I have read somewhere that GDI+ can be used to create new controls. I am not sure if it's right idea to use GDI+ to make custom window controls. Let me know If GDI+ isn't right method to make new window controls. I managed to create graphic that reminds input control. But I cant invent code to detect if it's clicked. #include <GuiConstantsEx.au3> #include <GDIPlus.au3> Opt('MustDeclareVars