Tuesday, March 20th 2018, 2:56pm UTC+1

You are not logged in.

  • Login
  • Register



Date of registration: Oct 5th 2017

Posts: 30


Thursday, October 19th 2017, 3:47pm

Global Keyboard for different Edit widgets

Dear all

I have various non-related windows (i.e. they could be siblings but not necessarily) with Edit widgets.
Now I want to create a separate Keyboard dialog in a separate source file and make it pop up whenever user taps Edit widget to start typing. The thing is I want this Keyboard dialog to be universal and used by any Edit widget anywhere.

Any idea how that could be achieved?


SEGGER - Schoenen

Super Moderator

Date of registration: Aug 13th 2015

Posts: 515


Thursday, October 19th 2017, 4:33pm


You might do it in different ways. Attached is an example on how to achive this in different ways. There will a window pop up if you click into one of the EDIT widgets. With some of imagination it could be some sort of a keayboard ;)

Either you set a callback for each EDIT widget react on WM_TOUCH and open the keyboard or you react on WM_NOTIFICATION_RELEASED within a WM_NOTIFY_PARENT event.

If you set the callback it is important to call the default callback of the EDIT widget.

SEGGER - Schoenen has attached the following file:
  • WindowOnClick.zip (1.18 kB - 62 times downloaded - Last download: Mar 14th 2018, 6:13pm)



Date of registration: Oct 5th 2017

Posts: 30


Thursday, October 19th 2017, 5:51pm

Thanks a lot!