locked
Cannot let the Keyboard stay on my property page RRS feed

  • Question

  • Hi There,

    I have an application it will launch the property page, the problem is that I cannot make the keyboard to stay for long. Here is what I have done to show the SIP button:

    PFCSipButtonShow( BOOL bShow )

    HWND hTaskbar = ::FindWindow(_T("HHTaskbar"), NULL);
     if( hTaskbar )
     {
      ::ShowWindow(hTaskbar, SW_SHOW);
     }

        HWND hWnd = ::FindWindow(_T("MS_SIPBUTTON"),  NULL );
        if (hWnd == NULL)
     {
            return;
     }

        if (bShow)
     {
            ::ShowWindow( hWnd, SW_SHOW );
     }
        else
     {
            ::ShowWindow( hWnd, SW_HIDE );

     }

    On the WM_SIZE message on each property page I call the function above to make sure the SIP button is showing. When I click on the keyboard button, the keyboard will be showing momentarily and disappear on Microsoft Windows Mobile 5.0

    The same code works fine for all the windows CE4.2 on my pocket PC.

    Can someone tell me how to make the keyboard to stay until I click on it to let it disappear? I am using eVC4.0

    Tuesday, November 28, 2006 11:29 PM