Subject:
RE: Kaffe port to Microwindows
From:
Jean-Eric Cuendet ####@####.####
Date:
22 Mar 2000 11:01:48 -0000
Message-Id: <B45465FD9C23D21193E90000F8D0F3DF6831DD@mailsrv.linkvest.ch>
Hi Greg,
Last evening, I made the first link of Kaffe with MWin. It starts and output
something! I didn't tested it with some AWT java program though (no time
left!). I'll do it this evening and let you know the status.
After a better understanding of the Kaffe-win32 code, I can now say what's
important to have and what's not in MWin.
Here is a list of important features for Kaffe:
- All the kKBD stuff for key down/up detection (WM_KEYUP, ...)
- WINDOWPOS stuff
- HWND GetDlgItem(HWND, WORD);
- LRESULT CallWindowProc( WNDPROC, HWND, UINT, WORD, DWORD);
- void GetTextExtentExPoint(HDC, TCHAR* cs, int len, int, void*,
void*,SIZE*);
- int GetRValue(unsigned long);
- int GetGValue(unsigned long);
- int GetBValue(unsigned long);
- StretchBlt, MaskBlt, PatBlt
- unsigned long GetPixel(HDC, int x, int y); (It's not defined in MWin
includes at all...)
Semi important things:
- void SetCursor(HCURSOR c); (I think that cursors should be supported at
the MWin level, not app level, ok?)
- UINT GetWindowTextLength(HWND);
- void EnableWindow(HWND hwnd, BOOL b);
- HWND GetParent(HWND hwnd);
- void AdjustWindowRectEx( RECT*, int, BOOL, int);
- int GetDeviceCaps(HDC, int);
- int GetSystemMetrics(int);
Not needed things:
- All the rest of the mail you sent me some days ago. (Menus, DrawItem, ...)
What so yo think of all that?
Thanks for your great help.
-jec
> -----Original Message-----
> From: Greg Haerr ####@####.####
> Sent: mardi, 21. mars 2000 15:28
> To: Jean-Eric Cuendet
> Subject: Re: Kaffe port to Microwindows
>
>
> : I'll now retry with 0.88pre3d and let you know the zones
> where you need to
> : help me.
>
> Jean-Eric,
> I didn't get a chance to add the items that you requested with the
> win2mwin.h into 0.88pre4. I just wanted to let you know that
> I haven't
> forgotten about you, and I'll be working to get those going.
>
> Of course, I'm still interested in hearing whether you can get a link
> going, and then, what happens after that!
>
> Regards,
>
> Greg
>
>