Commodore
Commodore
1517 views

Visual Style Fonts with Dialog system bitmaps

To turn on visual style controls and visual style fonts for Dialog System screens we set the MFVSSW environment variable to "/c /f" when we start our application.  A user can select to either use or not use this feature.  When we launch our application we display a splash screen and its background is a bitmap that shows our company name and logo.  If we turn on visual style fonts, the splash screen is resized so that it is not as tall.  The bitmap is not resized so it is chopped off on the bottom.  I can turn on the visual style font default in the Dialog System designer and then resize the splash screen so that it shows all of the bitmap, but if a user decides to not use visual style controls and fonts a gap is left between the bottom of the bitmap and the bottom of the splash screen.

Does anyone know of a way to solve this?  If bitmaps don't get resized perhaps there is another control we could use for the background image which does resize.

Phil Levin

0 Likes
2 Replies
Absent Member.
Absent Member.

You can try to put your image on a large bitmap button control (that act as your background and set as disable)

0 Likes
Commodore
Commodore

Thanks.  I'll give that a try.

Phil Levin

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.