Wine, WineLib and "Programming Windows 95 with MFC"
Last updated: 2000/10/20
Description
Demonstrates pen styles, pen widths and brush styles.
Wine tests
- The dashs and dots are much shorter than on Windows.
- On Windows the dashs of PS_DASH are much longer than those of PS_DASHDOT. In Wine they have the same length.
- On Windows the dots of PS_DOT have the same length as those of PS_DASHDOT. In Wine the dots of PS_DOT are single pixels! That's way too short and definitely not what was intended.
- The spacing of the lines for HS_HORIZONTAL seems to be different from that of Windows. There are three 'stripes' in Wine while Windows has four.
Tested API
- KERNEL32
GetModuleHandleA, GetStartupInfoA, GetVersion, Sleep
- MSVCR40D
_XcptFilter, __CxxFrameHandler, __dllonexit, __getmainargs, __p__acmdln, __p__commode, __p__fmode, __set_app_type, __setusermatherr, _adjust_fdiv, _controlfp, _except_handler3, _exit, _initterm, _onexit, _setmbcp, exit
Last updated: 2000/10/20
Description
This is the same as GdiDemo1 except that it adds a vertical scrollbar.
Wine tests
- Same as GdiDemo1 for the gdi aspects.
- I regularly get assertion violations when
playing with the scrollbar. The assertion violation is in
'wincore.cpp:1938'.
- I have resize lag problems in managed mode.
Maybe this causes problems to the scrollbar (just a supposition).
In any case it does garble its display: I shrink the window so as
to cause the scrollbar to appear. But only the caret appears. I
assume everything else is displayed before the MFC actually get
the correct dimensions so that it appears 'off window'.
Tested API
- KERNEL32
GetModuleHandleA, GetStartupInfoA, GetVersion, Sleep
- MSVCR40D
_XcptFilter, __CxxFrameHandler, __dllonexit, __getmainargs, __p__acmdln, __p__commode, __p__fmode, __set_app_type, __setusermatherr, _adjust_fdiv, _controlfp, _except_handler3, _exit, _initterm, _onexit, _setmbcp, exit
Last updated: 2000/10/20
Description
Instead of doing all the scrollbar work like in GdiDemo2, GdiDemo3 lets
the MFC handle the scrollbars. So the code is much shorter. From a user's
point of vue GdiDemo3 is identical to GdiDemo2 except that now the display
is updated as you scroll.
Wine tests
- Same as GdiDemo1 for the gdi aspects.
- I don't have resize lag problems or assertion violations anymore with
this version.
Tested API
- KERNEL32
GetModuleHandleA, GetStartupInfoA, GetVersion, Sleep
- MSVCR40D
_XcptFilter, __CxxFrameHandler, __dllonexit, __getmainargs, __p__acmdln, __p__commode, __p__fmode, __set_app_type, __setusermatherr, _adjust_fdiv, _controlfp, _except_handler3, _exit, _initterm, _onexit, _setmbcp, exit