Search Results

Search results 1-20 of 30.

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

  • DROPDOWN widget select BUG

    chensie - - emWin related

    Post

    Hi, When I using DROPDOWN_SetItemDisabled disable some items of the DROPDOWN widget , UP and DOWM key still CAN select disabled items if it focused. When the DROPDOWN widget in expand mode, Disabled items cannot be selected. Regards, Chensie

  • Hi, I think you should use following functions: GUI_SetColor() GUI_SetBkColor() GUI_SetTextMode() In manual 6.1 gives more information. Regards, Chensie

  • Hi, I think you should check pX->hWin first when you call WM_SetUserData. if (pX->hWin) WM_SetUserData(pX->hWin, &pX, sizeof(WMX*)); In GUIConfig.c set memory size used by emWin: #define GUI_NUMBYTES (1024L * 32) static U32 aMemory[GUI_NUMBYTES / 4]; // // Assign memory to emWin // GUI_ALLOC_AssignMemory(aMemory, GUI_NUMBYTES); Regard, chensie

  • Please posting ILI9488.h

    chensie - - emWin related

    Post

    Hi, You can download it from community.st.com/thread/36575-nucleo-f746zg-and-ili9488-tft I hope this is useful for you. Regards, Chensie

  • Hi, I am using STemWin 5.40 within STM32Cube_FW_F4_V1.21.0. From which version it is fixed? Regards, Chensie

  • in manual 18.2.1: void Callback(WM_MESSAGE * pMsg) The action performed by the callback routine depends on the type of message it receives. The prototype above is usually followed by a switch statement, which defines different behaviors for different messages using one or more case statements (typically at least WM_PAINT). It is said: AT LEAST WM_PAINT

  • Hello, Maybe WM_GetId using WM_GET_ID message, in manual 18.6.1 said WM_GET_ID Sent to a window to request the Id of the window. When you use WM_SetCallback(), must handle WM_GET_ID message or use default handle.

  • Hello, When I use GUI_BMP_Serialize() to Copy LCD bmp file to USB disk, it can created bmp file, but when I see it in my cumputer, the bmp picture is fuzzy. I cannot solve it.

  • GRAPH Scale - start offset

    chensie - - emWin related

    Post

    Hi, I think you may use GRAPH_SetScrollValue function for your purpose, otherwise you may use GRAPH_SetUserDraw to draw it by yourself drawing function. Redards chensie

  • EDIT Widget edit Unicode strings

    chensie - - emWin related

    Post

    Hi, When I changed font to GUI_FONTTYPE_PROP type, and set GUI_pUC_API to handle Unicode parser, EDIT Widget shows cursor position correctly. Regards. chensie

  • Hi, When I used EDIT Widget to edit Unicode strings, the EDIT Widget display wrong cursor position. I used GUI_FONTTYPE_PROP_SJIS type font for EDIT Widget. Best Regards

  • Hi, My MKE02.jflash file in Attachments, Thank you for help!

  • Hi, When I use J-Flash V6.15f with MKE02Z32VLH2, cannot connect target, report "Failed to measure CPU clock frequency Failed to connect. Could not determine CPU clock frequency." But in keil MDK, my J-Link can connect with MKE02Z32VLH2 target!

  • What is Handle exactly ?

    chensie - - emWin related

    Post

    Hi, emWin uses his own memory management system, when we init emWin, GUI_ALLOC_AssignMemory() init it! A Window or WIDGET handle may be a Memory buffer's handle or Index something (?..., no source) and A Window or WIDGET object pointer is Object structure pointer. We can use WM_H2P ( or GUI_ALLOC_h2p() )function convert it! for example: BUTTON_Handle hWin; BUTTON_Obj * pObj; hWin = BUTTON_Create(...); pObj = (BUTTON_Obj *)WM_H2P(hWin); BUTTON_Obj is defined in BUTTON_Private.h Best Regards, Chen…

  • Window click event

    chensie - - emWin related

    Post

    Hello, You may catch WM_TOUCH message in your Message callback fuction( cbOnTouch() ). void _cbOnTouch(WM_MESSAGE * pMsg) { /* old handle */ FRAMEWIN_Callback(pMsg) ; /* if You use WINDOW as main window use WINDOW_Callback(pMsg) */ switch (pMsg->MsgId) { case WM_TOUCH: /* Do your own handle */ break; } } hWin = GUI_CreateDialogBox() WM_SetCallback(hWin, _cbOnTouch);

  • Hello, I want to close a full expanded MENU with it's submenu by program, how do it ? I found MENU_Popup() to show a menu by program, maybe has MENU_Closeup() function. Thank you Best regards.

  • Graph widget

    chensie - - emWin related

    Post

    Hello If you have source of emWin, rewrite your own following function: void GRAPH__AddValue(GRAPH_DATA_OBJ * pDataObj, void * pData, void * pValue, int Size) -OR another WAY- don not use YT data by emWin, manage your own YT-Data and using void GRAPH_SetUserDraw(GRAPH_Handle hObj, void (* pUserDraw)(WM_HWIN hObj, int Stage)) callback to draw your own YT-Data . Best regards.

  • in UM03001_emWin5.pdf 38.5 : In case a precompiled emWin library is used, changing the configuration files will not have any effect until the library is compiled again with the required settings. You can use FRAMEWIN_SetBarColor() to do it. If you use skinned FrameWin, use FRAMEWIN_SetSkinFlexProps() to change!

  • Hi, You can use LISTVIEW_Callback to disable WM_TOUCH message handle to diasable it. LISTVIEW_cbDisableTouch(WM_MESSAGE *pMsg) { switch (pMsg->MsgId) { case WM_TOUCH: break; default: LISTVIEW_Callback(pMsg); break; } } .... WM_SetCallback(hListView, LISTVIEW_cbDisableTouch);

  • Hello, The Window Manager handles keyboard input automatically. It polls the keyboard buffer and sends according keyboard messages to the currently focussed window.(UM03001_emWin5.pdf 18.2.11) The WINDOW widget (UM03001_emWin5.pdf 19.29.2) , TEXT widget (UM03001_emWin5.pdf 19.27.4) and the IMAGE widget can not gain the input focus and does not react on keyboard input. If you MUST do react on keyboard input, you can try: hWin = GUI_CreateDialogBox(.....); WM__ahWinFocus[0] = hWin;