I need a custom widget. I read "AN03002 Custom Widget Type Creation Guide". Since my custom widgets are made up of several child widgets I used the message WM_CREATE in the callback, as described in "UM03001 User & Reference Guide for emWin V5.40" 18.6.2:
[img]https://s7.postimg.org/3re220x1n/STem_Win540_WM_CREATE.jpg[/img]
The problem is that my widget must be parameterized. For example, depending on the value of a parameter my wigdet can have 2 or 4 child widgets.
How can I pass these parameters to the WM_CREATE message?
best regards
Max
[img]https://s7.postimg.org/3re220x1n/STem_Win540_WM_CREATE.jpg[/img]
The problem is that my widget must be parameterized. For example, depending on the value of a parameter my wigdet can have 2 or 4 child widgets.
How can I pass these parameters to the WM_CREATE message?
best regards
Max