Page 1 of 1

context menu font

Posted: 28 Jan 2024 22:25
by Gukalov
Is it possible to set some font to menu created by Window:menuPopUp/3?

Re: context menu font

Posted: 29 Jan 2024 12:32
by Thomas Linder Puls
Not in a simple way at least.

The menus in Visual Prolog programs are standard Windows menus and Windows chooses the font. However, it is possible to have "owner drawn" menu items in Windows, but I don't know how you do it (neither in Windows nor Visual Prolog).

In general I don't think you should use Windows standards. (But the Explorer, for example, uses bold font to indicate the default action on a file).

Re: context menu font

Posted: 29 Jan 2024 13:46
by Gukalov
What a pity...
It seems to me that asking about a window title font would become one more "what a pity")))

Thank you.

Re: context menu font

Posted: 29 Jan 2024 15:22
by Thomas Linder Puls
I believe that is much harder to change.

Re: context menu font

Posted: 30 Jan 2024 10:36
by Gukalov
What a pity 2 )))
So, my own menu is already working...
"My own title bar"... Hm... It even sounds absolutely stupid )))