• 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
Window grouping functionality in Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Window grouping functionality in Carbon


  • Subject: Window grouping functionality in Carbon
  • From: "Rangaswamy C T" <email@hidden>
  • Date: Wed, 13 Feb 2008 19:12:31 +0530
  • Thread-topic: Window grouping functionality in Carbon


Hi All,



I am trying to group two windows using carbon window group api's (
CreateWindowGroup, SetWindowGroup, ChangeWindowGroupAttributes, etc...
).



I have written a sample carbon application which has a main window
created using carbon api's, and inside the carbon application, I have
created a cocoa window using the following cocoa nswindow creation api



NSWindow *cocoaWindow = [[NSWindow alloc] initwithContentRect:rect
styleMask:MyWindowStyle backing:NSBackingStoreNonRetained defer:No];



then I am getting WindowRef from NSWindow using the api 'WindowRef
cocoaWndRef = (WindowRef)[ cocoaWindow windowRef];'.



After that I am trying to group two valid windowref's (one from my
carbon application and the other from the cocoaWindow) using carbon
window grouping api's.



But the grouping is not working as expected. If I move the cocoa window,
only cocoa window moves, carbon window doesn't move along with cocoa
window. Only when I move the carbon window, both the window's moves.



Has anybody come across the situation I am facing?  Can I group two
windows created using different frameworks?



With the window grouping approach, do I face any focus (with mouse and
keyboard) and layering issues?



Could you please share your experience?



Thanks,

_______________________________________________

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

  • Prev by Date: SScrypto framework
  • Next by Date: Generic NSView Support for NSDragDestination
  • Previous by thread: Re: SScrypto framework
  • Next by thread: Generic NSView Support for NSDragDestination
  • Index(es):
    • Date
    • Thread