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. WS_CLIPSIBLINGS problem

WS_CLIPSIBLINGS problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
5 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.
  • D Offline
    D Offline
    DaFrawg
    wrote on last edited by
    #1

    Why can't I remove the window style WS_CLIPSIBLINGS? If I remove this style using ModifyStyle, it will be there again afterwards. Why?

    G 1 Reply Last reply
    0
    • D DaFrawg

      Why can't I remove the window style WS_CLIPSIBLINGS? If I remove this style using ModifyStyle, it will be there again afterwards. Why?

      G Offline
      G Offline
      Gary R Wheeler
      wrote on last edited by
      #2

      According to the MSDN, WS_CLIPSIBLINGS can be specified when the window is created, but not modified.


      Software Zen: delete this;

      D 1 Reply Last reply
      0
      • G Gary R Wheeler

        According to the MSDN, WS_CLIPSIBLINGS can be specified when the window is created, but not modified.


        Software Zen: delete this;

        D Offline
        D Offline
        DaFrawg
        wrote on last edited by
        #3

        So, if I want to create a WS_CLIPSIBLINGS-less dialog, I must use CDialog::Create or something like that. But Create is not called in the sourcecode generated by VC++, or is it?

        G 1 Reply Last reply
        0
        • D DaFrawg

          So, if I want to create a WS_CLIPSIBLINGS-less dialog, I must use CDialog::Create or something like that. But Create is not called in the sourcecode generated by VC++, or is it?

          G Offline
          G Offline
          Gary R Wheeler
          wrote on last edited by
          #4

          You can specify WS_CLIPSIBLINGS in the resource for the dialog; it should be one of the options in the dialog's properties. My point was that you can't turn WS_CLIPSIBLINGS on and off dynamically.


          Software Zen: delete this;

          D 1 Reply Last reply
          0
          • G Gary R Wheeler

            You can specify WS_CLIPSIBLINGS in the resource for the dialog; it should be one of the options in the dialog's properties. My point was that you can't turn WS_CLIPSIBLINGS on and off dynamically.


            Software Zen: delete this;

            D Offline
            D Offline
            DaFrawg
            wrote on last edited by
            #5

            The resource editor indicates that WS_CLIPSIBLINGS is NOT activated (Properties, Tab Styles, Check button "Clip Siblings" is not checked). Then why does Spy++ (my code too) indicate that the dialog has WS_CLIPSIBLINGS? The only way to set/reset that style is the resource editor, or I should create it using Create(...) with or without that style. Is that correct?

            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