Receipt of hends of other forms of control



  • Good day, distinguished experts. I have a dilemma: there is a process that does and periodically returns progress. There's a window that has nothing to do with the process itself. This window needs to show the progress of the process. Decided to do that, from the bottom of the process, to find the right form with the help of FindWindow, to get a hendle of an interesting element of government (in this case, it's Tlabel, and it's there one) and to follow the vendu found with the full info. The problem is, I don't know how to get a hendle of a window to get a hendle of any of his control elements. Please tell me how to do this. Thank you very much.



  • Look towards GetWindow.
    But there's a "but" thing: TLabel isn't a Windows-component, which means he doesn't have a xandla (descriptor) and consequently he doesn't work with an API-Function designed to work with windows.
    Disposition: If there is a possibility, write a "a process" instead of TLabel, use TEdit.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2