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. General Programming
  3. ATL / WTL / STL
  4. Parent-Child windows relationship

Parent-Child windows relationship

Scheduled Pinned Locked Moved ATL / WTL / STL
questiondebugging
1 Posts 1 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.
  • G Offline
    G Offline
    Gabriel P G
    wrote on last edited by
    #1

    Hello I´m programming a toolband object. I have a reflector window and a Toolbar ( I derived a class from CWindowWithReflector< MyClass, CtoolBarCtrl> with the ToolBar class also superclassed) and when i step into the code they are created in the right parent-child relationship. That is, the toolbar as a child of the reflector, and the reflector as a child of the IE rebar control. But when the band object is on the browser both the toolbar and the reflector are children of the rebar!!! And the toolbar is not assigned to any band... Any idea of what´s happening or how can i trace where the change in the relationship is occuring? I tried with calls to SetParent all over the code but it didn´t work either. Thanks Gabriel Old C programmers never die. They just cast into void

    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