Hello to all,
I have a very simple problem:
I want to show the static default cursor in the Edit widget without any blinking. I use emWin 5.22.
The Edit widget contains and displays 3 characters already.
The source:
hEdit = EDIT_CreateEx(10, 5, MaschNamePixelWidth, 30, hClientWin, WM_CF_SHOW,0,0,MaschineNameLen);
EDIT_SetFont(hEdit,StdFont);
EDIT_SetText(hEdit,&M[MIdx].Name[0]); //von der aktuellen Maschine den Namen anzeigen
EDIT_SetCursorAtChar(hEdit,2)
The text is therafter displayed correct but no cursor.
Gui_Exec() is called regularly.
In order to display the cursor:
Does the cursor have to be enabled explicitly?
Do I have to switch the Edit widget from text mode to edit mode?
I am happy for any help for this issue
Thanks
Andy
I have a very simple problem:
I want to show the static default cursor in the Edit widget without any blinking. I use emWin 5.22.
The Edit widget contains and displays 3 characters already.
The source:
hEdit = EDIT_CreateEx(10, 5, MaschNamePixelWidth, 30, hClientWin, WM_CF_SHOW,0,0,MaschineNameLen);
EDIT_SetFont(hEdit,StdFont);
EDIT_SetText(hEdit,&M[MIdx].Name[0]); //von der aktuellen Maschine den Namen anzeigen
EDIT_SetCursorAtChar(hEdit,2)
The text is therafter displayed correct but no cursor.
Gui_Exec() is called regularly.
In order to display the cursor:
Does the cursor have to be enabled explicitly?
Do I have to switch the Edit widget from text mode to edit mode?
I am happy for any help for this issue
Thanks
Andy