Thread View: comp.windows.ms.programmer
1 messages
1 total messages
Started by Roman Zielinski TT/TSM
Mon, 13 Apr 1992 16:12
Two more incompatibilities in w3.1 (FAQ)
Author: Roman Zielinski TT/TSM
Date: Mon, 13 Apr 1992 16:12
Date: Mon, 13 Apr 1992 16:12
24 lines
1258 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads