Lazarus

Programming => Widgetset => Cocoa => Topic started by: Seenkao on October 28, 2020, 11:29:24 am

Title: Cocoa, several problems
Post by: Seenkao on October 28, 2020, 11:29:24 am
День добрый!
Кто-нибудь знает как можно решить несколько проблем связанных с Cocoa, а точнее с классами-методами. Не используя LCL!!!

Мне нужно получить идентификатор данного окна. (это вроде как не очень сложно)

Мне нужно создать окно и убрать системное меню с него. Либо оставить "закрыть".

Мне нужно ограничить возможность изменения размеров окна.

Везде, где я искал по документации Apple, всё вокруг да рядом, а ни чего нет конкретного.

Google translate:
Good afternoon!
Does anyone know how you can solve several problems related to Cocoa, or rather, with method classes. Not using LCL!!!

I need to get the id of a given window. (it's kind of not very difficult)

I need to create a window and remove the system menu from it. Or leave "close".

I need to limit the ability to resize the window.

Wherever I looked for Apple documentation, everything is around and around, and nothing is specific.
Title: Re: Cocoa, several problems
Post by: trev on October 29, 2020, 11:30:57 am
Please refer ro the Wiki article Cocoa Internals (https://wiki.freepascal.org/Cocoa_Internals).
Title: Re: Cocoa, several problems
Post by: Seenkao on October 30, 2020, 10:18:04 am
Благодарю! Но там очень скудная информация. Приглядевшись, там есть намёк на то, что я искал.

Google translate:
Thank you! But there is very little information there. Looking closer, there is a hint of what I was looking for. :)
TinyPortal © 2005-2018