Please help me open the standard color selection dialog and enter the selected color into a variable.
???
System::Call 'comdlg32::ChooseColorA ....'
How to open the standard color selection dialog ?
3 posts
!include LogicLib.nsh
!define /IfNDef CC_ANYCOLOR 0x00000100
!define /IfNDef CC_FULLOPEN 0x00000002
System::Call '*(&l4, p $hWndParent, p0, i0, @r0, i ${CC_ANYCOLOR}|${CC_FULLOPEN}, p, p0, p0)p.r1'
System::Call 'COMDLG32::ChooseColorA(pr1)i.r0'
${If} $0 <> 0
System::Call '*$1(i,p,p,i.r0)'
IntFmt $0 "%.6X" $0
MessageBox MB_OK $0
${EndIf}
System::Free $1 Anders, Fantastic! Thank you very much !