SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Nov 2001
    Location
    Woonsocket, Rhode Island, USA
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Class names For Windows

    Hello
    This is more of a Windows programming question, but perhaps some of you have run up against a similar issue, so here it goes.
    All of the Windows (or sections) within the application I am developing test suite's for lack Class names. This application was recently ported from OS/2 to NT & the GUI is written in C++. When using the Winfo utility or asking VT to return information on the current Class I get a number back. The same number is in use throughout the entire UI.
    Does anyone know how to place the proper hooks within the C++ code to identify the Class name of the current Window (Or Section) so that the Class Name can be accessed within VT?

    Thanks
    Joe


    ------------------
    J.Z.
    J.Z.

  2. #2
    Member
    Join Date
    Dec 2000
    Posts
    58
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Class names For Windows

    If the number being returned is #32770 this is a dialog class. In this case use the title of the dialog. The dialog class is generic.

    A more difficult solution is to capture the handle of each window as it is created and to use this for access.

    Hope this helps.

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

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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:34 AM.

Copyright BetaSoft Inc.