From: SourceForge.net <no...@so...> - 2007-02-26 01:14:25
|
Bugs item #1668663, was opened at 2007-02-25 17:14 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1668663&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: External Functions Group: v3.1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mark Miesfeld (miesfeld) Assigned to: Mark Miesfeld (miesfeld) Summary: OODialog parses style attributes in RC file incorrectly Initial Comment: OODialog allows the user to define a dialog using the standard resource script (.rc) file. The file is parsed by OODialog and a dialog and its controls are created as defined in the file. When parsing the style attributes of either a dialog or a dialog control, the current code assumes each style attribute is a separate word (separate from the '|' symbol.) Such as: CBS_DROPDOWN | CBS_SORT | WS_CHILD | WS_VSCROLL | WS_TABSTOP | WS_VISIBLE However, some (maybe many) resource editors leave out the spaces, such as: CBS_DROPDOWN |CBS_SORT |WS_CHILD |WS_VSCROLL |WS_TABSTOP |WS_VISIBLE Or even: CBS_DROPDOWN|CBS_SORT|WS_CHILD|WS_VSCROLL|WS_TABSTOP|WS_VISIBLE When using a resource script created by such a resource editor, OODialog does not create the dialog correctly. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1668663&group_id=119701 |