Jump to content

Recommended Posts

Posted

@argumentum your suggestion "main window" or "main form" is a good idea, descriptive and correct, the word "main" makes all the difference. I wish you entered this thread earlier :D

3 hours ago, argumentum said:

We call it a GUI but is a form and inside that form we do what we do. Am not familiar enough to make a writeup about it nor can find a reference link with an explanation of how M$ windows calls each component 🤷‍♂️If any of you find such reference, please post it here.

This link :

Remarks
A top-level form is a window that has no parent form, or whose parent form is the desktop window.
Top-level windows are typically used as the main form in an application.

See how MS wrote "main form" in the remarks above ?


This link :

The great Raymond Chen on explanations :

A window can be created as a child window (WS_CHILD set) or a top-level window (WS_CHILD not set).
A child window has a parent, which you specify when you call CreateWindowEx, and which you can change by calling SetParent.
A top-level window, on the other hand, has no parent. Its parent is NULL.

 

3 hours ago, argumentum said:

calling the main window "the parent" is going to be brought up in the future, since there can be many child windows that each have it's own parent.

I second this.

Have a great evening both of you :bye:

"I think you are searching a bug where there is no bug... don't listen to bad advice."

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...