🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #334

Two more incompatibilities in w3.1 (FAQ)

#334
From: Roman Zielinski TT/TSM
Date: Mon, 13 Apr 1992 16:12
24 lines
1258 bytes
I found two problems in win3.1 API/binary compatibility:
As far I can see 3.1 does wrong as compared with 3.1 and 
the Programmers Reference for version 3.

Problem 1:
        If you Register an application with lpszMenuName=NULL
        you will not be able to assign a menu later by
        LoadMenu + SetMenu.

Problem 2:
	If you use SetViewportExt(hDC,3,3) to a printer device
        running ISOTROPIC mode, then the returned font sizes
	in GetTextMetrics will get tmHeight, Ascend and Descend
        varying with the value in viewportExt. They should be
        constant!!!!
	This cases DrawText to fail too! It writes lines in a
	rectangle but do not space vertically with a proper
	height value.

I hope that someone will put the list to a FAQ...


Regards
Roman Z.
Technical Details
Message-ID: <conrozi.703181532@kk188>
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!mcsun!seunet!ericom!kk188.ericsson.se!conrozi

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!mcsun!seunet!ericom!kk188.ericsson.se!conrozi
From: conrozi@kk188.ericsson.se (Roman Zielinski TT/TSM)
Newsgroups: comp.windows.ms.programmer
Subject: Two more incompatibilities in w3.1 (FAQ)
Message-ID: <conrozi.703181532@kk188>
Date: 13 Apr 92 16:12:12 GMT
Sender: news@ericsson.se
Distribution: comp
Organization: Ericsson
Lines: 24
Nntp-Posting-Host: kk188.ericsson.se