passing parameters to a callback function

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hi,

    Unfortunately the is no direct way to pass data to a blocking dialog. To set user data it would be necessary to have the handle of the dialog.

    You could create your own create-blocking-dialog-function. Attached is an example how this could be done.

    After creating a dialog with GUI_CreateDialogBox() you can use the handle to set user data (don't forget to set the number of additional bytes in the create structure). After setting the user data you can call GUI_ExecCreatedDialog() which is blocking and executes the created dialog.

    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system:

    Or you can contact us via e-mail.