I am using MUI2 and created a textfield and a button on a custom page.
If the user writes something into the textfield I would like the button to be pushed as soon as return/enter is pushed. (much like the behavior of "run.exe")
${NSD_CreateText} 35% 0 25% 12u ""
Pop $SearchField
${NSD_CreateButton} 60% 0 5% 12u "="
Pop $SearchBTNAfter reading documentations and forum post for hours I believe "DM_SETDEFID" (!define DM_SETDEFID 0x401) to be the solution I need. But I cannot get it to work. Maybe I am even using 'SendMessage' wrong.Could somebody profide an example or post an idea on how to solve this?