Wine, WineLib and "Programming Windows 95 with MFC"
Last updated: 2000/10/20
Description
This application is similar to MouseCap except that it lets the user
change the thickness and color of the lines to demonstrate the use of menus.
Also, note that the current thickness and color will be indicated by a
checkmark in the menu and that each item has a keyboard shortcut
(accelerator). Paint1 is able to repaint itself, will let you erase
everything and has a menu to close the application.
Wine tests
- When enlarging the window, the both the bottom and
right side of the lowered border leave a gray line behind.
- When you drop-down a menu, 'color' for instance,
its text is drawn in white in Wine whereas it is drawn in black on
Windows.
- Everything else is fine.
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
- USER32
ReleaseCapture
Last updated: 2000/10/20
Description
Same as Paint1 except that the color menu now has rectangles showing the
color (ownerdrawn) instead of the color's name. Also the menus are not
available as a contextual menu.
Wine tests
- Same as Paint1
- In the color menu, when one mouse the mouse, a
hollow rectangle is drawn to show which item is selected. In Wine this
rectangle starts one pixel too much to the left.
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
- USER32
GetSysColor, GetSystemMetrics, ReleaseCapture