Loading ...
Sorry, an error occurred while loading the content.

calc buttons not reporting captions

Expand Messages
  • Baljit Singh
    i tried the simple calc.pl available with the installs. PushButtons does not seem to work. ( result is always 0. ) 1) winSpy on any of the button shows empty
    Message 1 of 1 , Feb 20, 2007
    • 0 Attachment
      i tried the simple calc.pl available with the installs.
      PushButtons does not seem to work. ( result is always 0. )

      1) winSpy on any of the button shows empty "Caption"
      Only TextBox returns "0." i.e the default contents of calc.

      2)
      "foreach my $child (@children) {
      printf "Child: %8s %s\n", $child, GetWindowText($child);"

      above code returned
      Child: 852424 0.
      Child: 197372
      Child: 197402
      ....
      ....
      ...


      I expected it to return '1', '2',etc.. for all the buttons.
      What is wrong here.


      I am on Windows2K.
    Your message has been successfully submitted and would be delivered to recipients shortly.