How do I get access to GUI elements in a IUP dialog loaded from a LED file?

后端 未结 1 693
情话喂你
情话喂你 2021-01-27 09:54

I’m in love with IUP! However I cannot figure out how to get programmatic access (in C) to GUI elements in a dialog loaded by IupLoad() from a LED file.

One extremely

1条回答
  •  离开以前
    2021-01-27 10:09

    The way os to use IupGetHandle to get access to some element then use IupGetChild*, GetBrother, GetParent functions to get the element you want.

    Another option is to use the NAME attribute. You set it on the element you want then use IupGetDialogChild to retrieve the element given the NAME value.

    0 讨论(0)
提交回复
热议问题