From 48156f36859c3ec21424fbc16f92c73dcab9ff93 Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 28 Nov 2002 13:43:37 +0000 Subject: [PATCH] Section flags updated git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1844 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/sec.but | 6 ++++-- Docs/src/ui.but | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Docs/src/sec.but b/Docs/src/sec.but index 21ef63ad..0b009181 100644 --- a/Docs/src/sec.but +++ b/Docs/src/sec.but @@ -4,7 +4,9 @@ \c section_index section_flags -Sets the section's flags. The flag is a 32 bit integer. The low 30 bits represent whether the section is in the (as many as) 30 install types. The top bit (0x80000000) represents whether the section is currently enabled, and the second to top bit (0x40000000) represents whether or not the section is read-only. The error flag will be set if an out of range section is specified. +Sets the section's flags. The flag is a 32 bit integer. The first bit (lowest) represents whether the section is currently enabled, the second bit represents whether the section is a subsection (don't modify this unless you really know what you are doing), the third bit represents whether the section is a subsection 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 and the sixth bit represents whether the sub-section is to be automatically expanded. The error flag will be set if an out of range section is specified. + +For an example of usage please see the \W{../Examples/one-section.nsi}{one-section.nsi} example. \S2{SectionGetFlags} SectionGetFlags @@ -22,4 +24,4 @@ Sets the description for the section section_index. To set a subsection, you mus \c section_index user_var(output) -Stores the text description of the section section_index into the output. If the section is hidden, stores an empty string. The error flag will be set if an out of range section is specified. +Stores the text description of the section section_index into the output. If the section is hidden, stores an empty string. The error flag will be set if an out of range section is specified. \ No newline at end of file diff --git a/Docs/src/ui.but b/Docs/src/ui.but index 2e65a8d7..84ef180e 100644 --- a/Docs/src/ui.but +++ b/Docs/src/ui.but @@ -84,4 +84,4 @@ Same as \W{http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterf \c hwnd show_state -Sets the visibilty of a window. Possible show_states are the same as \W{http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/showwindow.asp}{Widnows ShowWindow} function. SW_* are defined in \W{../Examples/WinMessages.nsh}{Examples\\WinMessages.nsh}. \ No newline at end of file +Sets the visibilty of a window. Possible show_states are the same as \W{http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/showwindow.asp}{Widnows ShowWindow} function. SW_* are defined in \W{../Examples/WinMessages.nsh}{Examples\\WinMessages.NSH}. \ No newline at end of file