Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8337483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:19:07+00:00 2026-06-09T04:19:07+00:00

So I created a parent window and then created a child window using CreateWindowEx.

  • 0

So I created a parent window and then created a child window using CreateWindowEx. Now when I created the child window I gave it a style of WS_POPUP.

MSDN says:
WS_POPUP
0x80000000L
The windows is a pop-up window. This style cannot be used with the WS_CHILD style.

The window is a popup window, and is a child window of my other window. I guess I am confused with what the WS_CHILD style is for since I can still make my popup window a child of another window?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:19:09+00:00Added an answer on June 9, 2026 at 4:19 am

    A window with the WS_CHILD styling must stay within its parent’s borders. A window with the WS_POPUP styling does not, and furthermore returns the owner window (rather than the parent window) when GetParent() is called.

    Since the primary difference is whether or not the window has to stay within the parent window’s borders, they are mutually exclusive and cannot be mixed, hence the note in the MSDN docs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a window whose handle is handle_parent. Then I created a child
HI I've created a window with rounded edges using the windows API calls CreateRoundRgn
I have created a parent div and inserted div's after the parent div using
I have two model classes, say parent and child. Parents are created first, and
Suppose i have 5 window to be created in which one is parent and
Im familiar with accessing parent windows like this: window.parent.document.getElementById(ad_nr) But what if I want
I created a web control, and it needs some data from its parent page.
I have a simple screen created in xml, the parent layout is a relativelayout
Someone know some interesting and complete tutorial about how to create a Parent-Child dimension
I am using pipe to write a coprocess. The parent creates two pipes, one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.