PRB: Dialog Editor Does Not Retain Unsupported StylesID: Q74264
|
The Windows Dialog Editor does not retain control/dialog styles that it does not support.
The styles in question must be manually added to the dialog script before using the resource compiler to compile the resource script.
Any style that cannot be explicitly set in the Dialog Editor Styles dialog
box will not be present in the script file generated by the the Dialog
Editor. For example, the edit control style, ES_OEMCONVERT is not available
in the Dialog Editor Styles dialog box. If this style is manually added to
the dialog script, compiled, and then loaded into the Dialog Editor, the
ES_OEMCONVERT style will be removed.
Any styles that are not supported by the Dialog Editor must be manually
added to the dialog script. To modify the dialog script, use a text editor
to combine the desired styles using the bitwise OR operator("|"). This
modified script should then be included into the application's resource
script. If the application's .RES file is later loaded into the Dialog
Editor, the unsupported styles will be removed and will need to be added
again as described above.
The following is a list of styles that are known not to be supported by the
Dialog Editor:
CBS_OEMCONVERT
ES_OEMCONVERT
SBS_BOTTOMALIGN
SBS_LEFTALIGN
SBS_RIGHTALIGN
SBS_SIZEBOX
SBS_SIZEBOXBOTTOMRIGHTALIGN
SBS_SIZEBOXTOPLEFTALIGN
SBS_TOPALIGN
SS_LEFTNOWORDWRAP
SS_NOPREFIX
SS_USERITEM
Additional query words: 3.00 3.10 3.50 4.00 95 win16sdk
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: March 4, 1999