nsDialogs::Create /NOUNLOAD bgcolor
i had uesd nsDialogs create a groupbox and richedit,
now, i have a question!
if i add the red font,the nsDialogs::Create /NOUNLOAD 1018 bgcolor is 0xFFFFFF 0x000000,
but i can't see the richedit!
if i remove the red font,the nsDialogs::Create /NOUNLOAD 1018 bgcolor isn't 0xFFFFFF 0x000000,
but i can see the richedit!
now,i want to set nsDialogs::Create /NOUNLOAD 1018
and the Richedit bgcolor 0xFFFFFF 0x000000,how to do it?
Function CP_MyPage_pre
nsDialogs::Create /NOUNLOAD 1018
pop $0
SetCtlColors $GroupBox 0xFFFFFF 0x000000
${NSD_CreateGroupBox} 2u 10u 99% 60% "used"
Pop $GroupBox
SetCtlColors $GroupBox 0xFFFFFF 0x000000
File /oname=$PLUGINSDIR\License.txt "License.txt"
nsDialogs::CreateControl /NOUNLOAD "RichEdit20A" ${DEFAULT_STYLES}|${WS_TABSTOP}|${ES_AUTOHSCROLL}|${ES_MULTILINE}|${WS_VSCROLL}|${WS_HSCROLL} ${__NSD_Text_EXSTYLE} 10 35 440 150
POP $rich
CustomLicense::LoadFile "$PLUGINSDIR\License.txt" "$rich"
nsDialogs::Show
FunctionEnd