Search Results

Search results 1-19 of 19.

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

  • Download GUI folder

    Rick MI - - emWin related

    Post

    Hello, I started reading the manual of emWin and it says I need a folder that contains other folders such as GUI\Core, GUI\Fonts etc. (pag 50 of the manual). Where can I find this folder? I tried to download it from the Segger website and I get a GUI folder but it only contains two folders (Include and Library).. I am missing parts of the components to start a project with emWin.. If you can post a link of the download page! Thanks!

  • Great! Thanks!

  • Is it possible to change the width of the scrollbar attached to a Listview widget? I can't find any function to do that! Thanks

  • Listview: no touch screen

    Rick MI - - emWin related

    Post

    Hello, I have a listview where I just want to show data with a background color of my choice. I want to avoid the cells to color themself every time I touch on one of them. I tried with LISTVIEW_EnableCellSelect(hItem, 0) but the cells still light up if touched. Any other way to do so? thanks!

  • CHECKBOX background color

    Rick MI - - emWin related

    Post

    okay thanks! Also, I don't want the checkbox to be set manually by the user, so I put WIDGET_SetFocusable(hItem, 0) in the WM_INIT_DIALOG section. Despite this, the checkbox status can still be changed manually by the user.. Is there another way to do so or am I doing something wrong?

  • CHECKBOX background color

    Rick MI - - emWin related

    Post

    I want to change the checkbox color using function CHECKBOX_SetBoxBkColor(). Problem is the color does not change.. Here is my simple code: WM_TOUCH: hItem = WM_GetDialogItem(pMsg->hWin, ID_STATUS_CHECKBOX_1); CHECKBOX_SetBoxBkColor(hItem, GUI_YELLOW, CHECKBOX_CI_ENABLED); break; Any problem with my code? How can I solve the problem? Thanks

  • Dropdown widget problem

    Rick MI - - emWin related

    Post

    Thanks for your answer. This is the code that I have implemented for the touch screen. Main: /* Enable I-Cache-------------------------------------------------------------*/ SCB_EnableICache(); /* Enable D-Cache-------------------------------------------------------------*/ SCB_EnableDCache(); HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_TIM6_Init(); MX_LTDC_Init(); BSP_TS_Init(800, 480); //initialize touch panel BSP_SDRAM_Init(); /* Initializes the SDRAM device */ __HAL_RCC_CRC_CLK_ENAB…

  • Touch screen buttons

    Rick MI - - emWin related

    Post

    I made it work with BUTTON_SetPressed()! thanks!

  • Dropdown widget problem

    Rick MI - - emWin related

    Post

    I am using a simple dropdown widget. Problem is the widget expands only at the first touch on the screen. After that it never closes, even if the rest of the widgets present in the window still work. Also, once expanded, the elements in the dropdown list cannot be selected.. I don't see why this is not working. Any idea why this happens? thanks

  • Touch screen buttons

    Rick MI - - emWin related

    Post

    I have implemented a small keyboard using the button widgets to insert letters inside an edit widget. I also implemented touch screen. Everything works fine but I have one problem: once selected, the buttons of the keyboard are not automatically unselected, so in order to insert the same letter twice in a row, I need to touch other parts of the screen between one selection and the following one. Does anyone know why this happens? Thanks

  • SkinFlex Buttons

    Rick MI - - emWin related

    Post

    What do you mean with "outer switch"? I tried to leave the disable case empty but I still see the button disappear. Is it right to leave the default empty?

  • SkinFlex Buttons

    Rick MI - - emWin related

    Post

    Thank you for your reply. I tried to implement the code but what happens is that the button disappears.. I can't understand the reason why. Does it happen to you too? Thanks

  • SkinFlex Buttons

    Rick MI - - emWin related

    Post

    I have 4 buttons in a window. I used the following code to set a new color to one button. C Source Code (1 line) C Source Code (1 line) C Source Code (1 line) My problem is that if I touch another button, also the other button is colored with the new colors. Why is that? Is there a way to keep the other buttons the same even if they are pressed? Thanks

  • LISTVIEW - Blinking cells

    Rick MI - - emWin related

    Post

    I think I solved! Thank you very much for you herp!

  • LISTVIEW - Blinking cells

    Rick MI - - emWin related

    Post

    I tried with a timer interrupt that occurs every few seconds: in the interrupt the only thing I do is: C Source Code (1 line) Then inside static void _cbDialog(WM_MESSAGE * pMsg), I added a new case for USER_MESSAGE: C Source Code (1 line) The USER_MESSAGE is defined as: C Source Code (1 line) What I believe is that, once WM_SendMessageNoPara() inside the interrupt is called, the code does not move to the callback _cbDialog() and does not execute the code inside case WM_USER. My question is: why…

  • LISTVIEW - Blinking cells

    Rick MI - - emWin related

    Post

    The functions are correct since I had already imported the GUI_X.c file. By the way if I use the GUI_Delay(100) I notive that the code gets stuck inside this function. For this reason I started using GUI_Exec() to update the widgets. Could my problem be related to the non-functioning of the GUI_Delay() function? And in this case, why does the code get stuck inside the function? Thanks

  • LISTVIEW - Blinking cells

    Rick MI - - emWin related

    Post

    I tried to use both methods but no results. I debugged and I never see the part of the code regarding "case: WM_TIMER" being run. Here is my code. What is wrong? int main(void) { /* Enable I-Cache-------------------------------------------------------------*/ SCB_EnableICache(); /* Enable D-Cache-------------------------------------------------------------*/ SCB_EnableDCache(); /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); /* Configure the system cl…

  • Blinking Buttons

    Rick MI - - emWin related

    Post

    I want a button in a window to blink (change its color with a certain frequency) when an event happen. How can I do it? Thanks

  • LISTVIEW - Blinking cells

    Rick MI - - emWin related

    Post

    How can I have the cells of a Listview blink with a given frequency? I tried changing the background color of a cell by recreating the listview in a timer interrupt: inside the interrupt I use the createListview function. it works for a few seconds then everything stops... Any idea? thanks