Search Results

Search results 1-20 of 23.

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

  • Dear emWin-support, I would like to ask you again for some help. In the Win32-simulation environment I do not have any problems with VNC, means my .exe application from Visual Studio (Simulation) works fine over VNC (localhost). I have now done some changes in my application of my end, but I am still not able to establish a successful Virtual Network Communication over an IP. I have a STM32F429 MCU with an external 5" display. As I understand I first have to make sure that a TCP/IP stack is pres…

  • Hello Sven, thank you again for your response. I am sorry for the delay, the last 3 weeks I had to do something else related to my work. MCU is from the STM32F4 series (STM32F429 to be exact). Is there some example of setting a VNC for live stream on PC and control from it? Or just to tell me where to find another example for another MCU and try to modify it ? I would really appreciate it... Thank you ,Sven Ivan

  • Dear emWin-users, I would like to ask you for some help regarding the "live stream" of an existing application (Target hardware) on the PC. During the past several months I have developed a quite interesting application for my end, did this also as an .exe for "stand alone" PC application (emwin Simulation) via Visual Studio. I always wanted to go deeper to the thema: Live Stream ... is there a way to stream on the PC respectively to control via mouse etc. ( VNC is probably needed...). Could you…

  • C Bitmap File in emWin Simulation

    Ivancho - - emWin related

    Post

    Thank you, Sven. Nice holidays. Ivo

  • Dear emWin-support team, here is the issue: When I place a Device.bmp and Device1.bmp (for HardKey) into the directory of my project, the .exe is shown the way I want, pictures of my end are there, everything works fine. But the .bmp files have to be moved/cuted/copied together with the .exe in order always to be executed and shown correctly. Is there a way to include those two files as C bitmap Files (.c) directly into the project (as application resources infact)? Any help would be appreciated…

  • Dear Sven, with the risk of being annoying I really do not understand the behavior of the WM_CF_CONST_OUTLINE and need your continuous help here. I asked you all this questions because I just wanted to have my application to operate a bit faster ( like for example when you press on a button that the button reacts faster and respectively goes faster in the another menu (for example)). The slow process was caused as you explained to me because all the windows had to be redrawn in WM_PAINT after so…

  • Wonderful! Thank you a lot, Sven!

  • Dear Sven, unfortunately WM_SetTransState(hItem, WM_CF_HASTRANS | WM_CF_CONST_OUTLINE) does not make the button transparent. static void _cbButton1(WM_MESSAGE * pMsg) { WM_HWIN hItem; switch (pMsg->MsgId) { case WM_PAINT: break; case WM_INIT_DIALOG: break; default: BUTTON_Callback(pMsg); break; } } ......................in the cbDialog after that : case WM_INIT_DIALOG: hItem = WM_GetDialogItem(pMsg->hWin, ID_BUTTON_1); WM_SetTransState(hItem, WM_CF_CONST_OUTLINE | WM_CF_HASTRANS); WM_SetCallback…

  • Hi Sven, Thank you so much for your continuous support. The drawing performance increased significantly by adding "WM_SetTransState". May I use the opportunity to ask you one further thing: is this order correct , when I am trying to combine WM_SetTransState with transparent Button_Widged ? I am creating the buttons through a dialog. Making them Transparent worked till now OK, but since I added WM_SetTransState(hItem, WM_CF_CONST_OUTLINE) the transparency behavior changed. in: case WM_INIT_DIALO…

  • Dear emWin-users, once again I would like to ask you for some help. Let's ignore the issues, caused by lack of allocated memory, hardware problems etc. My question only refers to the way I use Memory Device (to display a .gif on the LCD) with Window Manager (some buttons here). So I have 3 main steps: 1: Let`s call this function _DemoMemDev: static void _DemoMemDev(void) { GUI_MEMDEV_Handle hMem; // // Create the memory device // hMem = GUI_MEMDEV_Create(0,0,800,480); // // Activate it // GUI_ME…

  • Hi Sven, thank you for you continuous support here.... So today I was able to reproduce a *.bmp file on my screen, but only with a restricted size. For example, a picture of appr. 350x200 pixels I can display well, but a 600x200 I cannot (my external display is 800x480). After break pointing in the APP_GetData() --> NumBytesRead for the 350x200-bitmap is 1096 and since my _acBuffer is [1200] all works fine.... I increase the buffer to _acBuffer[5000] but it still cannot reproduce 600x200 picture…

  • Dear emWin-users, I am trying to draw a Bitmap picture (abc.bmp) from an external sd-card on the LCD with the GUI_BMP_DrawEx()-function. So I have stored a .bmp file on my external sd-card and do the following: here is my code: ///////////////// FATFS FatFs; FRESULT res; FIL fil; static char _acBuffer[400]; int APP_GetData(void * p, const U8 * * ppData, unsigned NumBytesReq, U32 Off) { FILE *phfile; DWORD NumBytesRead; phfile = (FILE *)p; // // Set file pointer to the offset location // fseek(ph…

  • any ideas ? I will appreciate it

  • Dear emWin-users, is it possible to set a background picture (e.g *Bitmap from the Bitmap Converter) for the two buttons of a SPINBOX_WIDGET and to change them respectively when pressing on them (like on a normal BUTTON_WIDGED) ? Thank you in advance Ivo

  • Hello emWin-users, I dont want to place a huge code here so I will try to compress it and to concentrate on the important part of it: Can you tell me what is the best way to delete a DialogBox with a WindowAsChild on it (invisible one) and to create a new DialogBox right after that (for example after pressing a button). I did the following, but it sometimes crashes: case ID_BUTTON_NEXT: //WHAT ABOUT THIS : WM_DeleteWindow(hWin1); WM_DeleteWindow(hWin2); GUI_Clear(); NextScreen(); GUI_SetOrg(0, 4…

  • Dear emWin-users, I hope you can give me some hints here: Is there a way to get a value (an integer) from a Listview widged? Let say I have created 10 rows in 2 columns, column 1 is Name, column 2 is Age, containing numbers. I just want to use some command on the right place (WM_Init_Dialog or Notify Parent ?? I do not know exactly where) in order to store the number (age) which was clicked and to change it after that with some SPINBOX widged or smth like this. I would appreciate your further he…

  • Hello YPO53, it worked. Thank you very much Regards

  • Dear emWin-users, I would appreciate some help from you. Can you please tell me if it is possible to put an integer into a Listview_widged (integer which can change during application runs) I use : char c = variable_1 + '0' in order to convert a character into an integer, but it doesn't show it, some warning occurs: static void _cbDialog(WM_MESSAGE * pMsg) { WM_HWIN hItem; int NCode; int Id; int variable = 5 char c = variable +'0'; switch (pMsg->MsgId) { case WM_INIT_DIALOG: // // Initialization…

  • Deleting a Line from TFT-Screen

    Ivancho - - emWin related

    Post

    Hello dear wmWin-users, hereby I want to ask you for some help: Is there a way to delete a line, which was previously drawn with : " GUI_DrawLine(); " I have the following issue: I have lets say 10 different levels of speed (for example), which I can choose by a SPINBOX from 1 to 10. If I choose 1, a small line is drawn: GUI_SetPenSize(4); GUI_DrawLine(525, 1390, 525, 1395); // 1 I choose 2, the prevous line and the new one , next to the older one, but bigger (similar to volume lines on a tv for…

  • Solved, thank you !!