Discussions related to Visual Prolog
User avatar
Gukalov
VIP Member
Posts: 62
Joined: 5 Oct 2011 15:16

context menu font

Unread post by Gukalov »

Is it possible to set some font to menu created by Window:menuPopUp/3?
User avatar
Thomas Linder Puls
VIP Member
Posts: 1401
Joined: 28 Feb 2000 0:01

Re: context menu font

Unread post 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).
Regards Thomas Linder Puls
PDC
User avatar
Gukalov
VIP Member
Posts: 62
Joined: 5 Oct 2011 15:16

Re: context menu font

Unread post 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.
User avatar
Thomas Linder Puls
VIP Member
Posts: 1401
Joined: 28 Feb 2000 0:01

Re: context menu font

Unread post by Thomas Linder Puls »

I believe that is much harder to change.
Regards Thomas Linder Puls
PDC
User avatar
Gukalov
VIP Member
Posts: 62
Joined: 5 Oct 2011 15:16

Re: context menu font

Unread post by Gukalov »

What a pity 2 )))
So, my own menu is already working...
"My own title bar"... Hm... It even sounds absolutely stupid )))
Post Reply