• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Q] No HexInputModePalette window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] No HexInputModePalette window?


  • Subject: Re: [Q] No HexInputModePalette window?
  • From: Aki Inoue <email@hidden>
  • Date: Mon, 29 Oct 2007 23:22:21 -0700

JongAm,

We're phasing out support for NSInputServer and NSInputManager.
We introduced a Cocoa-based framework for input method developers, InputMethodKit, in Leopard.
The framework is the spiritual successor of NSInputServer API, it retains the same ease of development and provides much much more.


We suggest to adopt the new framework for all new input method development on Mac OS X.

Thank you,

Aki

On 2007/10/29, at 21:22, JongAm Park wrote:

Hello.

I'm trying to write an Cocoa input method by following the HexInputServer sample.
I found out that it couldn't display its accessory window, HexInputModePalette.
However, its code seems to work OK. At least it is sucessful to hide/ show the palette window.


Can someone please tell me why the palette window is not displayed?

Actually i found the same question like this from this mailing list.

ROM : Matthew Cook
DATE : Wed Dec 28 18:02:31 2005

Greetings all,

I have been working at writing an input server for about a week now, but I'm having some trouble working through the developer sample code.

I am looking at the HexInputServer example (in Developer/Examples/
AppKit). I've worked over all of the code, and I think I understand what is going on, but I am having trouble with a palette window that the program is trying to open, which does not appear.


The example has a nib file that contains this HexInputModePalette, which is a subclass of NSPanel. The nib is set with another object as File's Owner in IB, and that object is manually loading the nub using loadNibNamed:owner:. After the palette's nib is loaded, the Owner class displays the window with orderOut: and orderFront:.

This all seems right to me, and I have added some NSLog messages to print the isVisible status and the windows position that report that the window should be visible. However, it's not. The logging messages report the following:

HexInputServer[1263] window is up
HexInputServer[1263] origin at x:676.000000 y:20.000000
HexInputServer[1263] size of w:456.000000 h:374.000000

I've tried this all using a completely clean version of the example code as well as my version that I had already done a bit of work on. Can anyone suggest what might be going wrong?

-Matthew Cook
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [Q] No HexInputModePalette window?
      • From: JongAm Park <email@hidden>
    • Re: [Q] No HexInputModePalette window?
      • From: JongAm Park <email@hidden>
    • Re: [Q] No HexInputModePalette window?
      • From: JongAm Park <email@hidden>
References: 
 >[Q] No HexInputModePalette window? (From: JongAm Park <email@hidden>)

  • Prev by Date: Re: Calendar control
  • Next by Date: Re: Calendar control
  • Previous by thread: [Q] No HexInputModePalette window?
  • Next by thread: Re: [Q] No HexInputModePalette window?
  • Index(es):
    • Date
    • Thread