Search Results

Search results 1-20 of 49.

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

  • HI, This is not the problem. I was using the cursor right aligned so i was not able to see the space taking. Thank you.

  • Hi, I have created one alphanumeric keypad window. it has edit widget. if i am typing only space here i.e first input itself is space and continue typing space, cursor is not not moving. but internally it is storing in the edit buffer. whereas if i type some character other than space then if typing space it is moving the cursor. Is it the default configuration for keypad in emwin. do we need to modify something to make it work? Thanks, Kusum

  • Hi all. I need to create 4 screens. since creation time is more i want to use hide and show functionality. I am creating the 4 screens after GUI_Init itself and hiding it. that means before creating any other screen. after this i have created one WIndow suppose WIndow 1 then on press of button in WIndow 1 have deleted WIndow 1 created WIndow 2. Again in WIndow 2 on press of buton what i have to do is i have to show screen which i created right after gui_init. so i will call WM_ShowWindow(Screen1…

  • Hi Sven, I tried callling WM_SetDesktopColor only once after GUI_Init. but what i see is it is not working for other window if i am not calling it again after deleting one window and creating other. I am also using super loop for updating the screens but what i understood is , if call WM_SetDesktopColor() then create a new window, there if i wait for that loop to execute the GUI_Exec() , background window won't be redrawn. Thats why i need to call GUI_exec() immediately. I have some 5 screen. Is…

  • Alphanumeric keypad

    Kusum Swarankar - - emWin related

    Post

    HI Sven, Thanks for the reply. I have not pressed any button, while launching itself cursor came and stopped. Basically what i want is to create an alphanumeric keypad where i need to have one edit widget and one window which will be having alphabets and other button, on press of some button this screen should switch to special characters screen for that i am deleting the 1st screen and creating back. At the same time edit widget should not be deleted. For that what i tried is I created one sepa…

  • Hi Sven, thanks for the clarification so you mean to say that we only need to call it once WM_SetDesktopColor() after GUI_init. after that it will take care, Doesn't matter how many windows we create or delete after that Am i correct?

  • Hi, I have a doubt on how WM_SetDesktopColor works.I am using this API to clear the background but untill unless you call GUI_Exec right after that it will not work as expected. I am calling WM_SetDesktopColor after deleting 1 window and before creating the other one. but i have to call GUI_Exec() just after this function to clear the background. if i am calling this way its not working GUI_EndDialog(hwin,DIALOG_RETURN_VAL); WM_SetDesktopColor(GUI_BLACK); GUI_CreateDialogBox(_aDialogCreate, GUI_…

  • Alphanumeric keypad

    Kusum Swarankar - - emWin related

    Post

    Hi all, I have to create alphanumeric keypad. For that I am creating 2 dialog boxes fr 1 screen. First dialog box contains edit widget and some title, and will remain same. other dialog box will change like : First Alphabets then on press of button some special characters. I created dialogs using GUI_CreateDialogBox and for other dialogs i am giving parent as the main dialog which is fixed. Problem: I am setting input focus for edit widget in dialog1 and inputs are given in dialog2 which is a di…

  • Hi Sven, I tried calling the direct function "WM_SetDesktopColor(GUI_BLACK);" and its working perfect. But Why callback function was not doing the same? Thanks Kusum

  • Hi Sven, Thanks for the quick reply. So when should i set the call back to desktop window? before creating any other window? I tried setting this callback before creating the second keypad in my situation which i explained above. still behavior is same.

  • Hi all, I want to understand how we can use GUI_clear() API and how it works. I have created one keypad window which has only numbers. 0-9, Back and enter button. now on press of enter button i need to create alphanumeric keypad which has many buttons. Problem is that when i am creating the second keypad by deleting the first one, the creation is not smooth i.e I can still see that clearing has not happened for first window. How can i achieve that? I have tried first deleting the window then set…

  • Hi Seven. While creation Even I dont have any problem but problem is coming when suppose i am at 7th radio button position and at that time i have to delete and create the swipe list to refresh the screen but there i need to even retain the position i.e 7th radio button for that i am doing like this. if(SWIPELIST_GetNumItems(SwipeListHndl) > 3) { Lvl2ScrollPos = SWIPELIST_GetScrollPos(SwipeListHndl); // take the scroll position before refreshing to stay in the same position after refresh } GUI_E…

  • Hi Sven thanks for the quick reply. here i am attaching example of how i am creating radio buttons.

  • Hi all, I have a LCD display of size 320*240. i have one window which is having 11 radio button . I have to refresh the window whenever change is happened not from touch but based on some settings so i am calling refresh screen where i will delete the swipelist window and create again. Since i have to maintain the position even after refreshing the window so i am calling SWIPELIST_GetScrollPos for getting the position and SWIPELIST_GetScrollPos for setting the position after creating the swipeli…

  • Hi Sven Thanks for the quick reply please find the example of my code below. Note: GUI_Exec is getting called regulary.

  • distortion in swipelist

    Kusum Swarankar - - emWin related

    Post

    Hi MikeFlyersFan Thanks for the reply. Can you clarify whether You are using blocking or non blocking. and whatever 2 things you suggested are required in non blocking or blocking and which one you used and resolved? "if using external ram, set the config params to be WRITETHROUGH" in the above line did you mean lcd config file or microcontroller?

  • Hi, I am facing some issue related to cursor blinking. i have created one keypad window its is having title,m 0-9 numbers, back , delete and enter button and edit widget. cursor blinking is happening in WM_Paint. issue is coming when Dialog box is created it is taking 1 sec for cursor to start blinking after that it is fine but the very first time when window is created is is taking time i.e for 1 sec it is staying and then blinking. how we can improve that. I tried putting the creation of edit …

  • distortion in swipelist

    Kusum Swarankar - - emWin related

    Post

    Hi All i have created one swipelist window and when we click on this window one popup comes which is a child window of that. the issue is when that popup is created, below swipelist got distorted slightly i.e swipelist separator lines are misplaced. there complete line is not distorted but a part of it which is near to that child window. we are using non blocking Dma operation in our system, and when we changed to blocking the issue is not happening. Can Someone explain why in non blocking opera…

  • Window validation

    Kusum Swarankar - - emWin related

    Post

    Hi Sven thanks for the reply. I also thought the same way that we will assign the handle to 0. but when i tried this way and then check the validity using WM_IsWindow() I found that this api is taking some time to execute( around 1 sec).How we can avoid this. is it an expected behavior. Thanks Kusum

  • Window validation

    Kusum Swarankar - - emWin related

    Post

    Hi all, I have a doubt regarding validity of a window. I created one window by using GUI_CreateDialogBox() and deleted using GUI_EndDialog(). according to my understanding once a dialog box is deleted the handle of that dialog box becomes invalid. after that is there any chance that it can become valid without creating it. I am facing some strange behavior that when i call GUI_EndDialog() and after that GUI_Exec() then if i check validity it is telling invalid but after some operation it is comi…