Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How do I Locate a Text box in a Big project based on the display of it at runtime?

How do I Locate a Text box in a Big project based on the display of it at runtime?

Scheduled Pinned Locked Moved C / C++ / MFC
questiondesignhelptutorialworkspace
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sivaraman Dhamodaran
    wrote on last edited by
    #1

    I had a dialog displayed at runtime in my Application and that contains textbox item in it. I need to locate the text item in my project. My project contains several dialogs ( say 700). How do I locate the textbox ( Window) in the design environment. Is there any easy method avaiable for that. I can able to get the details of that text item using spy++. But I donno how to fix the window in design mode. Thanks in advance.

    R G 2 Replies Last reply
    0
    • S Sivaraman Dhamodaran

      I had a dialog displayed at runtime in my Application and that contains textbox item in it. I need to locate the text item in my project. My project contains several dialogs ( say 700). How do I locate the textbox ( Window) in the design environment. Is there any easy method avaiable for that. I can able to get the details of that text item using spy++. But I donno how to fix the window in design mode. Thanks in advance.

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      Sivaraman Dhamodaran wrote:

      My project contains several dialogs ( say 700).

      :~

      Sivaraman Dhamodaran wrote:

      But I donno how to fix the window in design mo

      Just to clarify: you hav an app holding lots of dialogs, one of them has a problem you want to fix, but you cannot find which it is. -> 1. Stepdebug until you find it ? -> 2. Are the dialog created using the resource editor, or arethey created dynamically at runtime ?

      ~RaGE();

      I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

      1 Reply Last reply
      0
      • S Sivaraman Dhamodaran

        I had a dialog displayed at runtime in my Application and that contains textbox item in it. I need to locate the text item in my project. My project contains several dialogs ( say 700). How do I locate the textbox ( Window) in the design environment. Is there any easy method avaiable for that. I can able to get the details of that text item using spy++. But I donno how to fix the window in design mode. Thanks in advance.

        G Offline
        G Offline
        G_S
        wrote on last edited by
        #3

        Locate the control id using Spy++ then open up resource.h find the corresponding name with that ID then find all instances of that name this will greatly narrow the search. does this help

        G_S

        S 1 Reply Last reply
        0
        • G G_S

          Locate the control id using Spy++ then open up resource.h find the corresponding name with that ID then find all instances of that name this will greatly narrow the search. does this help

          G_S

          S Offline
          S Offline
          Sivaraman Dhamodaran
          wrote on last edited by
          #4

          Thanks G_S. I converted the control ID into Decimal ( Spy++ displays the CID in Hex.) and fixed the control.. Thanks a Lot.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups