--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], 최창혁 <kottami@> wrote:
> >
> > --- In [email protected], "brucexs" <bswitzer@> wrote:
> > >
> > > --- > local sss = win.hex(win.getlanguage(cl)
> > > > win.debug(sss)
> > > > 
> > > > return always 412.
> > > > 
> > > > I want to get 412 when korean mode, 409 when english mode.
> > > 
> > > 
> > > What are you using for the caption_list cl? The result is supposed to 
> > > depend on the keyboard layout associated with first window
> matching cl.
> > > 
> > > It just calls the built-in Windows routine getkeyboardlayout and 
> > > returns the local id in the lower word of this routine's result.
> > >
> > 
> >    
> >    
> >   Thank you for answer, 
> >   The canption_list CL was "*iexplore*"
> >   BTW, I understand what you say,"routine getkeyboardlayout".
> 
> You may use the following:
> 
> ----------------------------------------------------------------------
> local hWnd,hIMC,dwConv,dwSent
> 
> hWnd=win.handle("active")
> hIMC=dll.call("imm32|ImmGetContext|ui",hWnd)
> 
> dll.call("imm32|ImmGetConversionStatus|ui ui* ui*
> b",hIMC,"dwConv","dwSent")
> dll.call("imm32|ImmSetConversionStatus|ui ui ui",hIMC,dwConv ^
> 1,dwSent) ;; toggle
> ;dll.call("imm32|ImmSetConversionStatus|ui ui ui",hIMC,dwConv |
> 1,dwSent) ;; on
> ;dll.call("imm32|ImmSetConversionStatus|ui ui ui",hIMC,dwConv &
> ~1,dwSent) ;; off
> dll.call("imm32|ImmReleaseContext|ui ui",hWnd,hIMC)
> quit
> ----------------------------------------------------------------------
> 
> When I tested it, it worked fine with PP's own windows like notes,
> however, didn't work with other applications. If it's also in your
> case, then let me know.
> 
> 2. As PP is not multi-threaded, I don't think you can do multiple jobs
> simultaneously except for some special cases. But, I'm not a
> programmer myself either, so can't tell for sure.
> 
> As a work-around in your case, you may set first command of your
> buttons to Bar.HideShow("bar_name")
> 
> 3. Unless the application itself supports fullscreen mode, you can't
> set it to fullscreen, AFAIK. But, you can simulate it, there is a
> toggleFullScreen.powerpro script shipped with the dll plugin.
> Unfortunately, it won't always work because of the menu bar, when the
> menu bar is not part of the client area. Maybe, you have to further
> elaborate it using win.setrect() etc, which seemed not possible in my
> test unfortunately. Then, you may have to remove the menu-bar which I
> don't know yet is possible. If you desparately need it, I may
> investigate it further when I have spare time.
> 
> Sean

  Thanks, Thanks.. 
   
  1. 
  =============================
   local hWnd,hIMC,dwConv,dwSent
 
 hWnd=win.handle("active")
 hIMC=dll.call("imm32|ImmGetContext|ui",hWnd)
 
 dll.call("imm32|ImmGetConversionStatus|ui ui* ui* b",hIMC,"dwConv","dwSent")
 dll.call("imm32|ImmSetConversionStatus|ui ui ui",hIMC,dwConv ^ 1,dwSent) ;; 
toggle
 ;dll.call("imm32|ImmSetConversionStatus|ui ui ui",hIMC,dwConv | 1,dwSent) ;; on
 ;dll.call("imm32|ImmSetConversionStatus|ui ui ui",hIMC,dwConv & ~1,dwSent) ;; 
off
 dll.call("imm32|ImmReleaseContext|ui ui",hWnd,hIMC)
   
  win.debug(dwconv,"dwconv")
win.debug(dwsent,"dwsent")
 quit
  ================================
   
  same situation, 
  It Olny worked fine with PowerPro-notes, however, didn't work with other 
applications. iexplore, webma, emeditor.. etc. 

  2. Yes, understand.. thanks..
   
  3. 
  Test "c:\Program Files\PowerPro\scripts\toggleFullScreen.powerpro"
  It dont work properly. 
  I understand >> "Unless the application itself supports fullscreen mode, you 
can't set it to fullscreen"
   
  Thank you for answer

                
---------------------------------

180&deg; 달라진 야후! 메일
컴퓨터와 휴대폰으로 언제 어디서나 새로운 야후! 메일을 확인해보세요.


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to