Thursday, April 26th 2018, 10:56pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Mr. Spock

Beginner

Date of registration: May 19th 2009

Posts: 22

1

Friday, March 16th 2018, 3:13pm

Virtual keyboard

Hi

i did some test with a slightly modified version of keypad.c (found in this forum) called from a dialog window (with 2 edit widget). When I run the dialog and press one of the edit widgets an event (WM_NOTIFICATION_CLICKED) is triggered and the virtual keyboard (in edit.c) is called. To work properly i need to disable the dialog (in keypad.c) because sometimes the virtual keyboard is called more than once. Apparently the callback mechanism of the dialog is called from inside the vurtual keyboard and this triggers the keyboard again. Is this solution (disable the dialog) the best solution to fix this ?


Regards

This post has been edited 1 times, last edit by "Mr. Spock" (Mar 16th 2018, 3:33pm)


SEGGER - Schoenen

Super Moderator

Date of registration: Aug 13th 2015

Posts: 562

2

Tuesday, March 20th 2018, 3:00pm

Hi,

Not sure why it is trigger multiply times. But you might try to react on WM_NOTIFICATION_RELEASED instead of the clicked event.

Regards
Sven