Changeset 1155 for trunk/global.c
- Timestamp:
- Sep 5, 2008, 11:38:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/global.c
r907 r1155 19 19 20 20 #include "dll\fm3dll.h" 21 #include "dll\seeall.h" // StartSeeAll 21 22 #include "dll\fm3str.h" 22 23 … … 38 39 if (hmq) { 39 40 if (InitFM3DLL(hab, argc, argv)) { 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 41 for (x = 1; x < argc; x++) { 42 if (!strchr("/;,`\'", *argv[x]) && !*fullname && 43 (IsRoot(argv[x]) || IsFile(argv[x]) == 0)) { 44 if (IsRoot(argv[x])) 45 strcpy(fullname, argv[x]); 46 else if (DosQueryPathInfo(argv[x], 47 FIL_QUERYFULLNAME, 48 fullname, sizeof(fullname))) 49 *fullname = 0; 50 } 51 } 52 hwndFrame = StartSeeAll(HWND_DESKTOP, TRUE, fullname); 53 if (hwndFrame) { 54 for (;;) { 55 if (!WinGetMsg(hab, &qmsg, (HWND) 0, 0, 0)) { 56 if (qmsg.hwnd) 57 qmsg.msg = WM_CLOSE; 58 else 59 break; 60 } 61 if (hwndBubble && 62 ((qmsg.msg > (WM_BUTTON1DOWN - 1) && 63 qmsg.msg < (WM_BUTTON3DBLCLK + 1)) || 64 (qmsg.msg > (WM_CHORD - 1) && 65 qmsg.msg < (WM_BUTTON3CLICK + 1))) && 66 WinIsWindowVisible(hwndBubble)) 67 WinShowWindow(hwndBubble, FALSE); 68 WinDispatchMsg(hab, &qmsg); 69 } 70 DosSleep(125L); 71 } 71 72 } 72 73 DosSleep(125L);
Note:
See TracChangeset
for help on using the changeset viewer.