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. C / C++ / MFC
  4. Use the clip sibling property & clip children property?

Use the clip sibling property & clip children property?

Scheduled Pinned Locked Moved C / C++ / MFC
question
2 Posts 2 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
    G Haranadh
    wrote on last edited by
    #1

    Hello can any one explain about the clip sibling property of any dialog, and clip children property of dialog. The macros are : WS_CLIPSIBLINGS, WS_CLIPCHILDREN I could not understand where it is useful. I want to know what is use of these two properties. Thanks. Nice talking to you. :-O
    If you judge people, you have no time to love them. -- Mother Teresa

    C 1 Reply Last reply
    0
    • G G Haranadh

      Hello can any one explain about the clip sibling property of any dialog, and clip children property of dialog. The macros are : WS_CLIPSIBLINGS, WS_CLIPCHILDREN I could not understand where it is useful. I want to know what is use of these two properties. Thanks. Nice talking to you. :-O
      If you judge people, you have no time to love them. -- Mother Teresa

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

      as far as I know, these window styles are not really related to dialogs but rather to generic windows such as controls, overlapped windows etc... both have to do with drawing windows to limit the amount of drawing that needs to be done in a particular window WS_CLIPCHILDREN Excludes the area occupied by child windows when drawing occurs within the parent window. This style is used when creating the parent window. WS_CLIPSIBLINGS Clips child windows relative to each other; that is, when a particular child window receives a WM_PAINT message, the WS_CLIPSIBLINGS style clips all other overlapping child windows out of the region of the child window to be updated. If WS_CLIPSIBLINGS is not specified and child windows overlap, it is possible, when drawing within the client area of a child window, to draw within the client area of a neighboring child window. ClipSiblings is quite useful if you have child windows overlapping and you are custom drawing something inside of the window...it basically keeps you from drawing in to the wrong window cje

      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