Hi, ALL,
I apologize in advance if my question is simple. I'm new to Cocoa development and am trying to learn as much as possible.
My current task is:
My program has a dialog which looks like a property sheet dialog on Windows (ref. https://msdn.microsoft.com/en-us/library/windows/desktop/bb774538(v=vs.85).aspx).
One of the pages/sheets in this dialog should be a font selection, where the user can select font and hit "Apply"/"OK".
I was thinking to implement it using NSFontManager/NSFontPanel, but it looks like I will not be able to, since NSFontPanel is a top-level NSWindow and it will not be possible.
So my questions would be:
1. Am I missing something and it is actually possible to make NSFontPanel a child window?
2. If not - is there another class I can use to make it part of the properties dialog and allow the user to change/select the font?
Thank you in advance for any pointers.