Search Results

Search results 1-11 of 11.

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

  • HI to all, I have designe two different dialog in GUIBuilder ( I use the STemWin so GUIBuilder is mandatory). I need to switch to the second screen by pressing a butto on first screen. AS I see in this example (How to select correct function when switch windows) it is possible by using Source Code (2 lines) But the two dialog are in different .c files and share the same widget's ID (GUIBuilder design two separate file). Can I use after WM_DeleteWindows(pMsg->hWin); the function "WM_HWIN CreateSc…

  • HI Florian, Thanks. I thought WM_HideWindow() was only used for windows or screen areas, not widgets. Switch-case work fine, in WM_INIT_DIALOG I have inserted the following code which hides buttons 1 and 5 with screen_1 and only button 1 with screen_2 C Source Code (20 lines) I have a second question: I have to insert an image that resides in FLASH in the screen created by GUIBuilder. The image is inserted with this string: Source Code (1 line) If I use draex outside the GUIBuilder, the image is…

  • Hi to all, I hava aWindows with 5 buttons generated with GUIBuilder (I use version from ST, so GUIBuilder mandatory). I need to dinamically apdate caption e number of Buttons (hide or show some buttons). For caption, I modified the _aDialogCreate to retrive Data from a array that I fill before call CreateWindow() C Source Code (15 lines)But I have no idea how to hide a button or not I want to insert in _cbDialog - > case WM_INIT_DIALOG (as just done here), a switch-case that configure Buttons hi…

  • GUI_BMP_DrawEx() from SPI flash

    ter2 - - emWin related

    Post

    Hi Florian, I have found the solution to my doubt. When GUIBUilder creates the image array, it contains information about the image at the top. So functions like GUI_BMP_DrawEx() take the information about the size of the image right from this header. Thank you!

  • GUI_BMP_DrawEx() from SPI flash

    ter2 - - emWin related

    Post

    Hi Florian, thanks for your response. Quote from SEGGER - Florian: “It is sufficient to simply pass the address to where the BMP image is located. The routine will stop reading when the file has ended. ” I understand in the case of a file (like a reading from FAT32) but in my case, I have to foresee something in the App_get_data routine that returns 0 when the end of the image is reached? In the example you posted I don't see any reference to the _acsegger_logo length check. I must implement som…

  • GUI_BMP_DrawEx() from SPI flash

    ter2 - - emWin related

    Post

    Hi to all, I need to draw several images saved on SPI flash. With GUIBuilder I converted the images into arrays and saved they in flash. Every image has an start address like unsigned long ADDR_IMMAGE1 = 0x00000000; unsigned long ADDR_IMMAGE2 = 0x00002000; I understood that the function to use is GUI_BMP_DrawEx() but I have some questions: 1) How to chose which image to show ? 2) How do I indicate th size of the image ( in flash I only have an array) ? 3) How do I define the function GUI_DTA_FUN…

  • Hi Florian. Thanks, I had no Idea on how to use WIDGET_SetFocusable(). Now works fine.

  • Hi to all, I'm using STemwin ( a free version of EMWinprecompiled for STM32 processor) in this release, GUIBuilder is delivered for free. My project consist of a resistive touch screen. I want to disable the focus feature of Buttons, because press on a button cause redraw of previously pressed button. How can I do this ? this is my GUIBuilder outpu: C Source Code (211 lines)Thanks for your time. Regards

  • Thanks Sven, I'll remove this call from my project.

  • Hi Florian, thanks for your help. By adding a superloop with GUI_Delay everything works fine. In my project I don't have a superloop where to call the GUI_Delay() function, can I use GUI_Exec() instead and call it only when I need to update the screen (obviously the touch will not work in this configuration)?

  • Hi to all, I'm using STEMWIN (a precompiled library for ST product) on STM32F103. the use of the lines indicated in the manual give the expected outputC Source Code (19 lines) But when I use GUIUILDER and call CreateWindow(), nothing appear on sreen. CreateWindows() execute and rturn de handler, but there is no call to function read/write. What I must configure before call CreateWindows() ? some code. main: C Source Code (8 lines) LCD_init: C Source Code (37 lines)Output of Guibuilder: C Source …