Applies To:
  • CitectSCADA

A customer has asked whether it is possible to increase the font size / change the font used on the menus created with the dsppopupmenu cicode function.

The need for this facility has recently been highlighted as they have purchased a large LCD monitor whose native resolution is much larger than the 1024x768 screen size that their Citect project is configured for. They run their Citect project in fullscreen mode, so it is scaled appropriately, however, the popupmenus are not scaled at all.  So, effectively, the popup menus are 50% smaller than they would be.

The dspPopupMenu cicode function uses ctUtil.dll which actually calls Microsoft Windows dll's to generate the popup menus. Unfortunately when the dspPopupMenu was created, font parameters were not passed through to the ctUtil.dll. Hence, there are not any settings within Citect which can change the fonts created by the windows dll's.

There is however a temporary solution:

Right click on the desktop, and click properties. This bring up display properties, click on appearance, click advanced. Click on "normal" on the active window, to switch to Item Menu. Change the Menu, font size to say 12. By default I think it is set to 8.
This will now improve the font size when you call dspPopupMenu(). Unfortunately as a side effect it will also change other windows programs that use this window type.

Citect has confirmed this to be a problem in CitectHMI/SCADA version 5.42 to 5.50.
We are researching this problem and will post new information here as it becomes available.

dspPopupMenu, font, size, ctUtil.dll