I've learned how to create a child window within the parent window, but I want to create a window outside the program's primary window. If I'm not mistaken, a window outside the primary one is still a child window, right? Does it have its own class that needs to be registered? I tried just making another window, but changing the arguments. I got some interesting results, but not a separate window.
Asked
Active
Viewed 100 times
1
-
A window can create another window, that is not a child window of the window that creates it. It's also a good idea to show the code that does not work for you, and add a tag to show what language your are using - to help people help you. I would get the book "Programming Windows" by Charles Petzold 5th and/or 6th edition. – GoWiser Sep 10 '21 at 18:42
-
See [window types](https://learn.microsoft.com/en-us/windows/win32/winmsg/window-features#window-types). – IInspectable Sep 10 '21 at 19:29
-
There is an "owner/owned" window relationship which is very much like parent/child but without constraining the owned window's position (a child window position is constrained to be within its parent). – Ben Voigt Sep 10 '21 at 19:43
-
Read Petzold and then start again – David Heffernan Sep 10 '21 at 19:44