fixed bug #1491616 - missing explanation of SF_SELECTED
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4671 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
75887363cc
commit
b50fe97d21
1 changed files with 11 additions and 1 deletions
|
@ -6,9 +6,19 @@
|
|||
|
||||
Sets the section's flags. The flag is a 32 bit integer. The first bit (lowest) represents whether the section is currently selected, the second bit represents whether the section is a section group (don't modify this unless you really know what you are doing), the third bit represents whether the section is a section group end (again, don't modify), the fourth bit represents whether the section is shown in bold or not, the fifth bit represents whether the section is read-only, the sixth bit represents whether the section group is to be automatically expanded, the seventh bit is set for section groups which are partially selected, the eighth bit is internally used for partially selected section group toggling and the ninth bit is used for reflecting section name changes. The error flag will be set if an out of range section is specified.
|
||||
|
||||
Each flag has a name, prefixed with `SF_`:
|
||||
|
||||
\c !define SF_SELECTED 1
|
||||
\c !define SF_SECGRP 2
|
||||
\c !define SF_SECGRPEND 4
|
||||
\c !define SF_BOLD 8
|
||||
\c !define SF_RO 16
|
||||
\c !define SF_EXPAND 32
|
||||
\c !define SF_PSELECTED 64
|
||||
|
||||
For an example of usage please see the \L{../Examples/one-section.nsi}{one-section.nsi} example.
|
||||
|
||||
For useful macros and definitions, see Include\\Sections.nsh.
|
||||
For more useful macros and definitions, see Include\\Sections.nsh.
|
||||
|
||||
\S2{sectiongetflags} SectionGetFlags
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue