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
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Accessing a window from different window

Accessing a window from different window

Scheduled Pinned Locked Moved IT & Infrastructure
question
4 Posts 4 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.
  • F Offline
    F Offline
    Fuad Bin Omar
    wrote on last edited by
    #1

    1. Suppose we have 5 different windows in our hand.(a,b,c,d,e). Can we get/access a window object from a different window(e.g. b wants to get the window object e) 2. We can pass value from child to it's parent. But is it possible to pass value from parent to a already opened child ?

    C G H 3 Replies Last reply
    0
    • F Fuad Bin Omar

      1. Suppose we have 5 different windows in our hand.(a,b,c,d,e). Can we get/access a window object from a different window(e.g. b wants to get the window object e) 2. We can pass value from child to it's parent. But is it possible to pass value from parent to a already opened child ?

      C Offline
      C Offline
      CPallini
      wrote on last edited by
      #2

      What is the 'window object' you're talking about? CWnd instance? :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      [my articles]

      1 Reply Last reply
      0
      • F Fuad Bin Omar

        1. Suppose we have 5 different windows in our hand.(a,b,c,d,e). Can we get/access a window object from a different window(e.g. b wants to get the window object e) 2. We can pass value from child to it's parent. But is it possible to pass value from parent to a already opened child ?

        G Offline
        G Offline
        Giorgi Dalakishvili
        wrote on last edited by
        #3

        I suspect this is what you need: Passing Values between Forms in .NET 1.x with C# and VB.NET examples[^]

        #region signature my articles #endregion

        1 Reply Last reply
        0
        • F Fuad Bin Omar

          1. Suppose we have 5 different windows in our hand.(a,b,c,d,e). Can we get/access a window object from a different window(e.g. b wants to get the window object e) 2. We can pass value from child to it's parent. But is it possible to pass value from parent to a already opened child ?

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          Do you need to handle to windows?

          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