Changeset 377 for trunk/dll/objwin.c
- Timestamp:
- Jul 27, 2006, 8:28:31 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/objwin.c
r2 r377 1 2 /*********************************************************************** 3 4 $Id$ 5 6 Object windows 7 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2006 Steven H.Levine 10 11 26 Jul 06 SHL Check more run time errors 12 13 ***********************************************************************/ 14 1 15 #define INCL_DOS 2 16 #define INCL_WIN 3 17 #define INCL_GPI 18 #include <os2.h> 4 19 5 #include <os2.h>6 20 #include <stdarg.h> 7 21 #include <stdio.h> … … 10 24 #include <ctype.h> 11 25 #include <stddef.h> 26 12 27 #include "fm3dll.h" 13 28 #include "fm3dlg.h" 14 29 #include "fm3str.h" 15 30 31 static PSZ pszSrcFile = __FILE__; 32 16 33 #pragma alloc_text(OBJWIN,ObjectWndProc,MakeObjWin) 17 18 34 19 35 MRESULT EXPENTRY ObjectWndProc (HWND hwnd,ULONG msg,MPARAM mp1,MPARAM mp2) { … … 68 84 NULL, 69 85 NULL); 70 if(ObjectHwnd) { 86 if (!ObjectHwnd) 87 Win_Error2(HWND_OBJECT,HWND_DESKTOP,pszSrcFile,__LINE__,IDS_WINCREATEWINDOW); 88 else { 71 89 WinSetWindowPtr(ObjectHwnd,0,args); 72 90 /* initially populate container */
Note:
See TracChangeset
for help on using the changeset viewer.