Hi Debora and Adam,
You can take all the advantage of the graphical interface of the IFM plug-in. Below a small example to create two input boxes. You can reach this by right-click on the name of attached plug-in and then choose [b]Edit [/b] option.
[color=blue][i]static IfmPropExtInt aux= { 2, 50};
IfmProperty props[] = {
{ "Param1", IfmPROP_DOUBLE, &par1, &DefaultParam1, "Write value of Parameter 1", &aux },
{ "Param2", IfmPROP_DOUBLE, &par2, &DefaultParam2, "Write value of Parameter 2", &aux },
}
IfmEditProperties (pDoc, "Properties of IFM Plugin", "My parameters: ", props, 2); // last number is amount of parameters.
[/i][/color]
The best place of the code is on [b]OnEditDocument[/b]. Don't forget to declare the default values (&DefaultParam1) and the variables for the parameter itself (&par1).
More sophisticated manners are using fully Qt stuff (i.e. design your own *.ui file).
Cheers,
Carlos