Hi all,
I have been using emWin on the STM32 for a couple of weeks now, using the GUI Builder and Window Manager I have a screen with text that I can change from user code, respond to touch inputs etc.
My question is really a general one about recommended practice using Window Manager, am I right in saying that in order to put extra text / draw on a window when using Window Manager it is then your responsibility to re-draw it? I could only get something to be drawn to the window under WM_PAINT, so I assume in each window you just put everything you may need... then show / hide and change properties of the widgets accordingly.
I'm also slightly confused about the callbacks, could someone provide an explanation or situation where they are used? This style of programming is fairly new to me and the documentation isn't helping me a great deal.
Many Thanks
Anthony
I have been using emWin on the STM32 for a couple of weeks now, using the GUI Builder and Window Manager I have a screen with text that I can change from user code, respond to touch inputs etc.
My question is really a general one about recommended practice using Window Manager, am I right in saying that in order to put extra text / draw on a window when using Window Manager it is then your responsibility to re-draw it? I could only get something to be drawn to the window under WM_PAINT, so I assume in each window you just put everything you may need... then show / hide and change properties of the widgets accordingly.
I'm also slightly confused about the callbacks, could someone provide an explanation or situation where they are used? This style of programming is fairly new to me and the documentation isn't helping me a great deal.
Many Thanks
Anthony