Solved
This topic has been closed for replies.
I got the solution from another link:https://community.st.com/t5/stm32-mcus-touch-gfx-and-gui/stemwin-button-not-getting-wm-notification-released-message/td-p/448740.
what I did is replaced a function which I added in attached file.
Replace the function in main program
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.