· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Windows_IME


1. ¿µ¾î ÀÔ·Â

IME1.png
[PNG image (9.27 KB)]


2. ÇÑ±Û ÀÔ·Â 1

IME2.png
[PNG image (10.6 KB)]


3. ÇÑ±Û ÀÔ·Â 2

IME3.png
[PNG image (9.33 KB)]


4. ÇÑ±Û ÀÔ·Â 3

IME4.png
[PNG image (11.21 KB)]


5. ÇÑ±Û ÀÔ·Â 4

IME5.png
[PNG image (9.52 KB)]


6. ÀϺ»¾î È÷¶ó°¡¶ó ÀÔ·Â 1

IME6.png
[PNG image (7.83 KB)]


7. ÀϺ»¾î È÷¶ó°¡¶ó ÀÔ·Â 2

IME7.png
[PNG image (7.58 KB)]


8. ÀϺ»¾î È÷¶ó°¡¶ó ÀÔ·Â 3

IME8.png
[PNG image (7.27 KB)]


9. TIP

9.1. Á¶ÇÕ ÁßÀÎ ¹®ÀÚ Á¦°Å

 const HIMC hIMC = ::ImmGetContext( m_hWnd );
 ImmNotifyIME(hIMC, NI_COMPOSITIONSTR, CPS_CANCEL, 0);
 ::ImmReleaseContext( m_hWnd, hIMC );
 


9.2. Á¶ÇÕ À©µµ¿ì À§Ä¡ Á¶Á¤

 /// @brief     Á¶ÇÕ À©µµ¿ìÀÇ À§Ä¡¸¦ ¼³Á¤ÇÑ´Ù.
 /// @param     x       Á¶ÇÕ À©µµ¿ì ½ÃÀÛ xÀ§Ä¡°ª
 /// @param     y       Á¶ÇÕ À©µµ¿ì ½ÃÀÛ yÀ§Ä¡°ª
 void SetCompositionWindow(const int & x, const int & y)
 {
        HIMC    hImc;

        COMPOSITIONFORM cf;
        memset(&cf, 0, sizeof(COMPOSITIONFORM));

        cf.dwStyle = CFS_POINT;
        cf.ptCurrentPos.x = x;          // x
        cf.ptCurrentPos.y = y;          // y
        
        hImc = ImmGetContext(g_hWndMain);

        // Á¶ÇÕ À©µµ¿ìÀÇ À§Ä¡¸¦ ¼³Á¤ÇÑ´Ù.
        ImmSetCompositionWindow(hImc, &cf);

        ImmReleaseContext(g_hWndMain, hImc);
 }
 


9.3. Èĺ¸ À©µµ¿ì À§Ä¡ Á¶Á¤

 /// @brief     Èĺ¸ À©µµ¿ìÀÇ À§Ä¡¸¦ ¼³Á¤ÇÑ´Ù.
 /// @param     x       Èĺ¸ À©µµ¿ì ½ÃÀÛ xÀ§Ä¡°ª
 /// @param     y       Èĺ¸ À©µµ¿ì ½ÃÀÛ yÀ§Ä¡°ª
 void SetCandidateWindow(const int & x, const int & y)
 {
        HIMC hImc = ImmGetContext(g_hWndMain);
        CANDIDATEFORM cf;

        memset(&cf, 0, sizeof(CANDIDATEFORM));
        cf.dwStyle = CFS_CANDIDATEPOS;
        cf.ptCurrentPos.x = x;
        cf.ptCurrentPos.y = x;
        ImmSetCandidateWindow(hImc, &cf);

        ImmReleaseContext(g_hWndMain, hImc);
 }

10. »ùÇà ¼Ò½º

@IME_src.zip (4.69 KB)

12. °Ô½ÃÆÇ



captcha
Username:

ID
Password
Join
With clothes the new are best, with friends the old are best.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2007-05-30 20:51:44
Processing time 0.0074 sec