Hi
I could not enable the Cursor blink in MultiEdit widget. Moreover, there is no coloring support for the cursor (though exists in Edit widget).
Cursor seems to be created with gray color but not blinking.
Here is my MultiEdit widget creation procedure:
Any help ?
WM_HWIN hWin = MULTIEDIT_CreateEx(x0, y0, xSize, ySize * numLines, hParent,WM_CF_SHOW, MULTIEDIT_CF_INSERT, GUI_ID_MULTIEDIT0, maxLength, NULL);
if (!hWin)
{
log_error("Cannot create EditBox");
return NULL;
}
WM_SetCallback(hWin, Gui_EditWindow_cbf);
MULTIEDIT_SetInsertMode(hWin, 1);
MULTIEDIT_SetFont(hWin, &GUI__FONT_BIG);
MULTIEDIT_SetBkColor(hWin, 0, GUI_WHITE);
MULTIEDIT_SetMaxNumChars(hWin, maxLength);
MULTIEDIT_SetInsertMode(hWin, 1);
MULTIEDIT_SetWrapWord(hWin);
MULTIEDIT_SetAutoScrollV(hWin, 1);
MULTIEDIT_SetFocussable(hWin, 1);
MULTIEDIT_EnableBlink(hWin, 300, 1);
WIDGET_SetEffect(hWin, &WIDGET_Effect_None);
Thanks
Regards
I could not enable the Cursor blink in MultiEdit widget. Moreover, there is no coloring support for the cursor (though exists in Edit widget).
Cursor seems to be created with gray color but not blinking.
Here is my MultiEdit widget creation procedure:
Any help ?
WM_HWIN hWin = MULTIEDIT_CreateEx(x0, y0, xSize, ySize * numLines, hParent,WM_CF_SHOW, MULTIEDIT_CF_INSERT, GUI_ID_MULTIEDIT0, maxLength, NULL);
if (!hWin)
{
log_error("Cannot create EditBox");
return NULL;
}
WM_SetCallback(hWin, Gui_EditWindow_cbf);
MULTIEDIT_SetInsertMode(hWin, 1);
MULTIEDIT_SetFont(hWin, &GUI__FONT_BIG);
MULTIEDIT_SetBkColor(hWin, 0, GUI_WHITE);
MULTIEDIT_SetMaxNumChars(hWin, maxLength);
MULTIEDIT_SetInsertMode(hWin, 1);
MULTIEDIT_SetWrapWord(hWin);
MULTIEDIT_SetAutoScrollV(hWin, 1);
MULTIEDIT_SetFocussable(hWin, 1);
MULTIEDIT_EnableBlink(hWin, 300, 1);
WIDGET_SetEffect(hWin, &WIDGET_Effect_None);
Thanks
Regards
The post was edited 2 times, last by kyasar5 ().