|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
No window interactionHi,
I am currently porting an application on MacosX. I am new to macos development so it's quite a pain for me. Somewhere in the code, a carbon window is created with the function CreateNewWindow(). All the events stuffs to handle mouse and keyboard interaction are set up. Mouse enter and exit events are catched correctly by the application BUT all the interactions which are supposed to be handled by the system like select the window, move it, resize it are not... It's weird because it seems like events are not received and/or processed by the system window manager that therefore don't do his job. I have no idea what's happening, maybe something wrong with the window initialization... If someone already had this kind of problem it would be nice to get some advices Thank you in advance Emmanuel Quetelard. _______________________________________________ MacOSX-dev mailing list MacOSX-dev@... http://www.omnigroup.com/mailman/listinfo/macosx-dev |
|
|
Re: No window interactionAm 06.11.2009 um 02:57 schrieb Emmanuel Quetelard: > I am new to macos development so it's quite a pain for me. > Somewhere in the code, a carbon window is created with the function > CreateNewWindow(). Likely not what you want to hear, but I wouldn't port an application to Mac OS X using Carbon these days. Cocoa is much more future-proof and does all the event handling without a single line of code from you side. Markus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/ _______________________________________________ MacOSX-dev mailing list MacOSX-dev@... http://www.omnigroup.com/mailman/listinfo/macosx-dev |
|
|
Re: No window interactionOn 5 Nov 2009, at 17:57, Emmanuel Quetelard wrote:
> Mouse enter and exit events are catched correctly by the > application BUT all the interactions which are supposed to be > handled by the system like select the window, move it, resize it are > not... Sounds like maybe the standard window handler isn't set up. Are you using kHIWindowBitStandardHandler? David Dunham A Sharp, LLC +1 206 783 7404 Opal: fast, intuitive outlining http://a-sharp.com/opal/ _______________________________________________ MacOSX-dev mailing list MacOSX-dev@... http://www.omnigroup.com/mailman/listinfo/macosx-dev |
|
|
Re: No window interactionYes I am using the kHIWindowBitStandardHandler. I found some notes on the web saying that you need to create a bundle to make working windows properly. So I am trying to create a bundle but doesn't seem to work. I create all the folder hierarchy as written in the macos documentation and the plist file as well but nothing happens when I double-click the bundle folder. On 5 Nov 2009, at 17:57, Emmanuel Quetelard wrote: > > Mouse enter and exit events are catched correctly by the > > application BUT all the interactions which are supposed to be > > handled by the system like select the window, move it, resize it are > > not... > Sounds like maybe the standard window handler isn't set up. Are you > using kHIWindowBitStandardHandler? > David Dunham A Sharp, LLC +1 206 783 7404 > Opal: fast, intuitive outlining http://a-sharp.com/opal/ _______________________________________________ MacOSX-dev mailing list MacOSX-dev@... http://www.omnigroup.com/mailman/listinfo/macosx-dev _______________________________________________ MacOSX-dev mailing list MacOSX-dev@... http://www.omnigroup.com/mailman/listinfo/macosx-dev |
| Free embeddable forum powered by Nabble | Forum Help |