Search Results

Search results 1-3 of 3.

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

  • Hello, I want to delete the previous bitmap and show the new bitmap. I used the callback function, but I couldn't. How can I do it. my code not work. static void _cbDialog(WM_MESSAGE * pMsg) { switch (pMsg->MsgId) { case WM_PAINT: GUI_DrawBitmap(&bitmap,x, y); break; } } void Callback(WM_MESSAGE * pMsg); void Callback(WM_MESSAGE * pMsg) { WM_HWIN hItem; switch (pMsg->MsgId) { case WM_PAINT: GUI_DrawBitmap(&newbitmap,x, y); break; default: WM_DefaultProc(pMsg); break; } }

  • switch dialogbox

    Hakan - - emWin related

    Post

    I did a little experiment, the sample file is failing. I'm running the system, I touch the button a lot of times and the system crashes after a while.(I've touched the button without stopping, and I think it's crashing at the 20th touch) edit:Crashed after 1 minute. Regards, Hakan

  • switch dialogbox

    Hakan - - emWin related

    Post

    Hi. Using a nested window in a project I made based on the following example gives an error. I want to enter the sub-menus by pressing the buttons. For example Settings(dialog1)-> Display(dialog2)- -> Resolution(dialog3) Settings(dialog1)--> Audio(dialog4)--> Device(dialog5) C Source Code (171 lines)What could be the problem? Regards, Hakan