from what I recall, you need to include the iliad eripc headers, create the ipc channel, then use that channel to show/hide the keyboard. This is C code, could probably work similarly in C++
Code:
// include eripc
#include <liberipc/eripc.h>
#include <liberipc/eripcviewer.h>
#include <liberipc/eripctoolbar.h>
// ipc channel variable
erClientChannel_t ertoolbarChannel;
// ipc channel creation
erIpcStartClient(ER_TOOLBAR_CHANNEL, &ertoolbarChannel);
// get the toolbar channel set up as for the PDF viewer application
tbSelectIconSet(ertoolbarChannel, ER_PDF_VIEWER_UA_ID);
tbClearIconSet(ertoolbarChannel, ER_PDF_VIEWER_UA_ID);
// enable on screen keyboard
tbAppendPlatformIcon(ertoolbarChannel,ER_PDF_VIEWER_UA_ID,iconID_keyboard,-1);
// turn off trashcan as an extra.
tbAppendPlatformIcon(ertoolbarChannel,ER_PDF_VIEWER_UA_ID,iconID_trashcan,-1);
tbSetStatePlatformIcon(ertoolbarChannel,ER_PDF_VIEWER_UA_ID,iconID_trashcan, iconState_grey);
Hope that helps a bit