Reading label caption from other application

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Cleiton Marques (cleiton_at_polimold.com.br)
Date: 07/29/04


Date: Thu, 29 Jul 2004 18:16:47 -0300


Anybody know how get a caption of a label from other application.
Now i can get the handle of application and the handle of control, but
i cant get the caption of this control.

Any Ideas of Api functions for this???

Thanks in advance,

Cleiton



Relevant Pages

  • Re: How to abbreviate long label control caption?
    ... >>I set the .Caption property of a label control dynamically during runtime. ... > http://www.mvps.org/vbvision/ If you wish to have the ellipsis at ...
    (microsoft.public.vb.controls)
  • Re: Reference a field labels caption?
    ... If the control has an attached label, you can read its caption as: ... Allen Browne - Microsoft MVP. ... I'd like to reference caption of the fields bound label. ...
    (comp.databases.ms-access)
  • Re: Enumerating Option Group Controls
    ... Once you have the reference to the control, ... If you are trying to do this for the Caption of the Label of the option ... >> Allen Browne - Microsoft MVP. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Updating Properties of a Control on a Worksheet
    ... Works for me if you using worksheet form control labels. ... For activeX objects you can get the caption as you would on a UserForm ... I created a test sub to cycle through the Sheet Label ...
    (microsoft.public.excel.programming)
  • Re: Changing datasheet column titles on the fly?
    ... take a look at the Caption property of the ... Label attached to each control. ... matches the Caption of the attached label. ...
    (microsoft.public.access.formscoding)