Archive: how to use flag in nsDialogs


how to use flag in nsDialogs
I am using nsDialogs Plugin to create a custom page, in this i want to use readonly flag. I have gone through the documentation and the examples of the plugin but unable to find the way. Please let me know the way to achieve this if possible with the example.

Thank you very much for any kind of help.


You can (should) use the EnableWindow command for that:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.14.4


For edit control:
SendMessage $HWND ${EM_SETREADONLY} 1 0