Changeset 4762 for trunk/src/user32/dc.cpp
- Timestamp:
- Dec 7, 2000, 12:59:45 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.cpp
r4674 r4762 1 /* $Id: dc.cpp,v 1. 79 2000-11-22 13:44:49sandervl Exp $ */1 /* $Id: dc.cpp,v 1.80 2000-12-07 11:59:45 sandervl Exp $ */ 2 2 3 3 /* … … 718 718 WinOffsetRect(NULL, &rectlClip, -rectlClient.xLeft, -rectlClient.yBottom); 719 719 720 //change presentation space for client window721 selectClientArea(wnd, pHps);722 723 720 //clip update region with client window rectangle 724 721 HRGN hrgnClient = GpiCreateRegion(pHps->hps, 1, &rectlClient); … … 734 731 //set clip region 735 732 lComplexity = GpiSetClipRegion(pHps->hps, hrgnClip, &hrgnOldClip); 733 734 //change presentation space for client window 735 //NOTE: MUST do this after GpiSetClipRegion call! 736 // When a window with CS_OWNDC looses focus, for some reason 737 // GpiSetClipRegion resets the window dc origin back to (0,0) 738 selectClientArea(wnd, pHps); 736 739 737 740 GpiQueryClipBox(pHps->hps, &rectl);
Note:
See TracChangeset
for help on using the changeset viewer.