CalamusSL 2000 DTP program
g.patel at wanadoo.fr
g.patel at wanadoo.fr
Thu Mar 8 14:41:32 CST 2001
On Thu, 8 Mar 2001 17:36:21 +0100, Uwe Koloska
<uwe.koloska at mailbox.tu-dresden.de> wrote:
<snip>
>> - there are mechanisms for win apps to restrict the size of their
>> windows (responding to the WM_WINDOWPOSCHANGING message,
>> using WM_GETMINMAXINFO). Possibly the Wine implementation
>> is not 100% correct. Is the app using one of these ?
>>
<snip>
>I have produced the debugmsg with -debugmsg +win,+relay. It's a 43 MB
>File. You can find it at
> http://www.koloro.de/tmp/calamus.protokoll.gz (511 KB)
WM_GETMINMAXINFO *small* problem. In short, the Wine
implementation is utter and complete crap.
This will invalidate the current behaviour :
--- win.c.orig Sun Mar 4 23:53:23 2001
+++ win.c Thu Mar 8 21:33:47 2001
@@ -880,8 +880,10 @@
if ((cs->style & WS_THICKFRAME) || !(cs->style & (WS_POPUP |
WS_CHILD)))
{
WINPOS_GetMinMaxInfo( wndPtr, &maxSize, &maxPos, &minTrack,
&maxTrack);
+/*
if (maxSize.x < cs->cx) cs->cx = maxSize.x;
if (maxSize.y < cs->cy) cs->cy = maxSize.y;
+*/
if (cs->cx < minTrack.x ) cs->cx = minTrack.x;
if (cs->cy < minTrack.y ) cs->cy = minTrack.y;
}
If you try it (windows/win.c) beware of the line wrapping.
I'll have to do a correct implementation. Some time (I feel down :-/)
>>>And there is another problem with temporary fonts. The program needs
I have no time for the fonts problems this evening. Maybe later.
Gerard
More information about the wine-users
mailing list