Windows CE port fixes/enhancements (from <Someone>)
A few other fixes: - bug: text window does not scroll left on left arrow - pcmain.c: fix warning: _fileno() returns void* in Windows CE SDK 3.5.0 only: - files.c: compile error: don't include <signal.h> if NO_SIGNAL is defined. WinMo does not support POSIX signals - version.c: compile error: append_port_id() is undeclared - link error: mktime() is unsupported -> define it in celib.c -<Someone>
This commit is contained in:
@@ -259,6 +259,10 @@ void LayoutText(HWND hWnd)
|
||||
LRESULT CALLBACK NHTextControlWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
switch(message) {
|
||||
/* tell Windows not to process arrow keys (we want them) */
|
||||
case WM_GETDLGCODE:
|
||||
return DLGC_WANTARROWS;
|
||||
|
||||
case WM_KEYDOWN:
|
||||
switch( wParam ) {
|
||||
case VK_SPACE:
|
||||
|
||||
Reference in New Issue
Block a user