- Timestamp:
- Nov 2, 1999, 8:13:01 PM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/combo.cpp
r1433 r1550 1 /* $Id: combo.cpp,v 1.1 0 1999-10-24 22:56:01sandervl Exp $ */1 /* $Id: combo.cpp,v 1.11 1999-11-02 19:12:59 sandervl Exp $ */ 2 2 /* 3 3 * Combo controls … … 62 62 BOOL bRet = FALSE; 63 63 64 //SvL: Combo bitmap is invalid 65 hComboBmp = LoadBitmapA(0, MAKEINTRESOURCEA(OBM_COMBO)); 66 // hComboBmp = LoadBitmapA(hInstanceUser32, MAKEINTRESOURCEA(OBM_COMBO)); 64 hComboBmp = LoadBitmapA(hInstanceUser32, MAKEINTRESOURCEA(OBM_COMBO)); 67 65 if(hComboBmp) 68 66 { -
trunk/src/user32/dc.cpp
r1525 r1550 1 /* $Id: dc.cpp,v 1.1 8 1999-10-30 18:40:43 cbratschiExp $ */1 /* $Id: dc.cpp,v 1.19 1999-11-02 19:13:00 sandervl Exp $ */ 2 2 3 3 /* … … 19 19 #define INCL_DEV 20 20 #include <os2wrap.h> 21 #include <pmddi.h>21 //#include <pmddi.h> 22 22 #include <stdlib.h> 23 23 -
trunk/src/user32/dc.h
r1525 r1550 1 /* $Id: dc.h,v 1. 6 1999-10-30 18:40:44 cbratschiExp $ */1 /* $Id: dc.h,v 1.7 1999-11-02 19:13:00 sandervl Exp $ */ 2 2 /* 3 3 * public dc functions … … 410 410 } 411 411 412 413 // from pmddi.h: 414 /* CopyClipRegion */ 415 416 #define COPYCRGN_ALLINTERSECT 0L 417 #define COPYCRGN_VISRGN 1L 418 #define COPYCRGN_CLIPRGN 2L 419 420 /* SetupDC */ 421 422 #define SETUPDC_VISRGN 0x00000001L 423 #define SETUPDC_ORIGIN 0x00000002L 424 #define SETUPDC_ACCUMBOUNDSON 0x00000004L 425 #define SETUPDC_ACCUMBOUNDSOFF 0x00000008L 426 #define SETUPDC_RECALCCLIP 0x00000010L 427 #define SETUPDC_SETOWNER 0x00000020L 428 #define SETUPDC_CLEANDC 0x00000040L 429 430 ULONG APIENTRY Gre32Entry4(ULONG,ULONG,ULONG,ULONG); 431 432 inline ULONG APIENTRY _Gre32Entry4 (ULONG a, ULONG b, ULONG c, ULONG d) 433 { 434 ULONG yyrc; 435 USHORT sel = RestoreOS2FS(); 436 437 yyrc = Gre32Entry4(a,b,c,d); 438 SetFS(sel); 439 440 return yyrc; 441 } 442 443 ULONG APIENTRY Gre32Entry5(ULONG,ULONG,ULONG,ULONG,ULONG); 444 445 inline ULONG APIENTRY _Gre32Entry5 (ULONG a, ULONG b, ULONG c, ULONG d, ULONG e) 446 { 447 ULONG yyrc; 448 USHORT sel = RestoreOS2FS(); 449 450 yyrc = Gre32Entry5(a,b,c,d,e); 451 SetFS(sel); 452 453 return yyrc; 454 } 455 456 457 ULONG APIENTRY Gre32Entry6(ULONG,ULONG,ULONG,ULONG,ULONG,ULONG); 458 459 inline ULONG APIENTRY _Gre32Entry6 (ULONG a, ULONG b, ULONG c, ULONG d, ULONG e, ULONG f) 460 { 461 ULONG yyrc; 462 USHORT sel = RestoreOS2FS(); 463 464 yyrc = Gre32Entry6(a,b,c,d,e,f); 465 SetFS(sel); 466 467 return yyrc; 468 } 469 470 ULONG APIENTRY Gre32Entry7(ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG); 471 472 inline ULONG APIENTRY _Gre32Entry7 (ULONG a, ULONG b, ULONG c, ULONG d, ULONG e, ULONG f, ULONG g) 473 { 474 ULONG yyrc; 475 USHORT sel = RestoreOS2FS(); 476 477 yyrc = Gre32Entry7(a,b,c,d,e,f,g); 478 SetFS(sel); 479 480 return yyrc; 481 } 482 483 ULONG APIENTRY Gre32Entry8(ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG); 484 485 inline ULONG APIENTRY _Gre32Entry8 (ULONG a, ULONG b, ULONG c, ULONG d, ULONG e, ULONG f, ULONG g, ULONG h) 486 { 487 ULONG yyrc; 488 USHORT sel = RestoreOS2FS(); 489 490 yyrc = Gre32Entry8(a,b,c,d,e,f,g,h); 491 SetFS(sel); 492 493 return yyrc; 494 } 495 496 497 #define GreSetupDC(a,b,c,d,e,f) (BOOL) _Gre32Entry8((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(LONG)(c),(ULONG)(LONG)(d),(ULONG)(PRECTL)(e),(ULONG)(ULONG)(f),0L,0x00004081L) 498 #define GreCreateRectRegion(a,b,c) (HRGN) _Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),(ULONG)(LONG)(c),0L,0x00004062L) 499 #define GreGetPageUnits(a,b) (LONG) _Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PULONG)(b),0L,0x00004083L) 500 #define GreCopyClipRegion(a,b,c,d) (INT) _Gre32Entry6((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PRECTL)(c),(ULONG)(ULONG)(d),0L,0x00004080L) 501 #define GreCombineRegion(a,b,c,d,e) (INT) _Gre32Entry7((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(HRGN)(c),(ULONG)(HRGN)(d),(ULONG)(ULONG)(e),0L,0x00004065L) 502 #define GreDestroyRegion(a,b) (BOOL) _Gre32Entry4((ULONG)(HDC)(a),(ULONG)(HRGN)(b),0L,0x00004063L) 503 412 504 #endif //INCLUDED_BY_DC 413 505 -
trunk/src/user32/edit.cpp
r1446 r1550 1 /* $Id: edit.cpp,v 1. 9 1999-10-25 20:17:17sandervl Exp $ */1 /* $Id: edit.cpp,v 1.10 1999-11-02 19:13:00 sandervl Exp $ */ 2 2 /* 3 3 * Edit control … … 3174 3174 BOOL after_wrap; 3175 3175 3176 //SvL: Set focus3177 // SetFocus(hwnd);3178 3179 3176 if (!(es->flags & EF_FOCUSED)) 3180 3177 return 0; … … 3462 3459 EDIT_InvalidateText(hwnd, es, es->selection_start, es->selection_end); 3463 3460 ShowCaret(hwnd); 3464 //SvL: TEST 3465 // EDIT_NOTIFY_PARENT(hwnd, EN_SETFOCUS, "EN_SETFOCUS"); 3461 EDIT_NOTIFY_PARENT(hwnd, EN_SETFOCUS, "EN_SETFOCUS"); 3466 3462 } 3467 3463 -
trunk/src/user32/pmwindow.cpp
r1528 r1550 1 /* $Id: pmwindow.cpp,v 1. 49 1999-10-31 01:23:15sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.50 1999-11-02 19:13:01 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 877 877 // Only send this message if the window is enabled 878 878 if (WinIsWindowEnabled(hwnd)) 879 {879 { 880 880 if(win32wnd->MsgHitTest((*(POINTS *)&mp1).x, MapOS2ToWin32Y(OSLIB_HWND_DESKTOP, hwnd, (*(POINTS *)&mp1).y))) { 881 881 goto RunDefWndProc; 882 }882 } 883 883 } 884 884 else goto RunDefWndProc;
Note:
See TracChangeset
for help on using the changeset viewer.