Recent

Author Topic: Cocoa, several problems  (Read 1144 times)

Seenkao

  • Hero Member
  • *****
  • Posts: 545
    • New ZenGL.
Cocoa, several problems
« 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.
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Cocoa, several problems
« Reply #1 on: October 29, 2020, 11:30:57 am »
Please refer ro the Wiki article Cocoa Internals.

Seenkao

  • Hero Member
  • *****
  • Posts: 545
    • New ZenGL.
Re: Cocoa, several problems
« Reply #2 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. :)
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

 

TinyPortal © 2005-2018