SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Guest

    Reading Text painted on a DialogBox in a C++ app...

    I have a C++ application, which is a dialogbox that appears as a taskbar on windows NT desktop. When I open an application like account management, the application's data (acc# etc.) gets posted onto this taskbar. When ever the data is changed in the app, it gets synchronized on the taskbar.

    Silk recognized this taskbar is a DialogBox with no controls on it. The data displayed on this taskbar is painted on the dialogbox.

    I am not able to read data from this dialogbox, because it doesn't have any controls inside it and it has only "RECT" & "Enabled" as properties.

    Thanks in advance for your help.

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading Text painted on a DialogBox in a C++ app...

    Can you show us the declarations?

    John


    ------------------

  3. #3
    Guest

    Re: Reading Text painted on a DialogBox in a C++ app...

    Sure.

    I can't select the text and highlight. At least if I can do that I can copy the text.

    And the properties of the dialog are...



  4. #4
    Guest

    Re: Reading Text painted on a DialogBox in a C++ app...

    Asking developers to give the ability to select this text is the last thing I want to do. From developers point of view, this is change in code and also they don't want the end-users play around with the text.

    In WinRunner, I can read this text from Dialog Box. So, there can be some way to read this text in Silk also.

  5. #5
    Senior Member
    Join Date
    May 2002
    Posts
    448
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading Text painted on a DialogBox in a C++ app...

    Check out what DialogBox.GetContents () returns.

    ------------------
    never say die
    Life, that dares send, A challenge to his end,
    And when it comes say, Welcome friend.

  6. #6
    KS
    KS is offline
    Senior Member
    Join Date
    May 2001
    Posts
    265
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading Text painted on a DialogBox in a C++ app...

    Could you ask your developers to give you the ability to select this text?

    ------------------

  7. #7
    Guest

    Re: Reading Text painted on a DialogBox in a C++ app...

    If you look at the properties of the dialog box in my previous posting, GetContents () returns caption, enabled, state and rect properties.

  8. #8
    KS
    KS is offline
    Senior Member
    Join Date
    May 2001
    Posts
    265
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading Text painted on a DialogBox in a C++ app...


    Try this..

    There are compiler flags which let the developer choose whether to use native controls or custom controls. By default this flag is set to "custom".
    You should set it to "native". (The reason for the flag is for (compatibility across Win32 and OS/2 and due to bugs in the OS/2 operating
    system.)



    ------------------

  9. #9
    Junior Member
    Join Date
    Mar 2002
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading Text painted on a DialogBox in a C++ app...

    Hi KS

    Could you explain where to find the compiler flags, where it is possible to set the native or custom options?


    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by KS:

    Try this..

    There are compiler flags which let the developer choose whether to use native controls or custom controls. By default this flag is set to "custom".
    You should set it to "native". (The reason for the flag is for (compatibility across Win32 and OS/2 and due to bugs in the OS/2 operating
    system.)

    <HR></BLOCKQUOTE>



    ------------------

  10. #10
    KS
    KS is offline
    Senior Member
    Join Date
    May 2001
    Posts
    265
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading Text painted on a DialogBox in a C++ app...

    That is for developers. I had a problem with IBM VisualAge SmallTalk controls and that is what they suggested I should do.
    In this case I'd still suggest that send it to Sugue tech support and let them take a look at it.

    ------------------


    [This message has been edited by KS (edited 10-14-2002).]

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 03:50 PM.

Copyright BetaSoft Inc.