bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

windres bug (default styles)


From: Michael Hentschel
Subject: windres bug (default styles)
Date: Wed, 09 Jul 2008 17:10:59 +0200
User-agent: Thunderbird 1.5.0.14 (Windows/20071210)

Concerning: Compiling a resource script with windres.exe

For some control elements (AUTOCHECKBOX, AUTO3STATE, AUTORADIOBUTTON, ...) the base_style differs from the default_style (eg. no WS_TABSTOP). For some others (CHECKBOX, ...) they are the same. This causes different behaviour depending on whether one specifies a style in a resource script or not.

Example:
AUTOCHECKBOX "", 10, 5, 5, 50, 10
has a resulting WS_TABSTOP (because it is default)

AUTOCHECKBOX "", 10, 5, 5, 50, 10, BS_NOTIFY
has NO resulting WS_TABSTOP (because in the base_style there is no WS_TABSTOP)

CHECKBOX "", 10, 5, 5, 50, 10
has a resulting WS_TABSTOP

CHECKBOX "", 10, 5, 5, 50, 10, BS_NOTIFY
also has a resulting WS_TABSTOP

This behaviour clearly differs from the MS resource compiler.

windres version: 2.18.50. 20080109




reply via email to

[Prev in Thread] Current Thread [Next in Thread]