- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category Application
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#291 - Form styles: a few definitely don't belong to Form
WS_GROUP and WS_MINIMIZEBOX have the same value, so WS_GROUP is not a constant for a Form. So remove WS_GROUP. See FS#267 .
The value of WS_OVERLAPPED is zero. It has no mask. So I suggest that it be removed from OI.
WS_SIZEBOX and WS_THICKFRAME have the same value, so I suggest removing WS_THICKFRAME.
WS_TABSTOP and WS_MAXIMIZE have the same value, so WS_TABSTOP is not a constant for a Form. So I suggest removing WS_TABSTOP.
If I set Visible to False, WS_VISIBLE is checked and enabled. This is inconsistent. I see that Koda achieves invisibility by not generating GuiSetState(@SHOW).
Microsoft says that a form is always visible.
So I think that Visible should not be a property of Form.
I think that many of my opinions on Styles are from the user's viewpoint, rather than the Koda designer's viewpoint.
BTW I cannot uncheck WS_OVERLAY even though it is enabled. Does not affect code generation, because value is 0.
I can't get WS_EX_MDICHILD to work, so perhaps it should be removed.
It should not be removed because it works when Form has a parent.