• Status Unconfirmed
  • Percent Complete
    0%
  • 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
Attached to Project: Koda
Opened by Chris Haslam - 24.05.2011

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.

Chris Haslam commented on 25.05.2011 04:16

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. :-)

Chris Haslam commented on 27.05.2011 21:19

BTW I cannot uncheck WS_OVERLAY even though it is enabled. Does not affect code generation, because value is 0.

Chris Haslam commented on 29.05.2011 02:51

I can't get WS_EX_MDICHILD to work, so perhaps it should be removed.

Chris Haslam commented on 09.06.2011 14:06
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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing