#include <windows.h>#include <windowsx.h>#include <shlwapi.h>#include "wgnuplib.h"#include "resource.h"#include "Messages.h"#include "Warnings.h"#include "Errors.h"#include "version.h"#include "win_mem_alloc.h"Include dependency graph for DragnDrop.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| void | DragFunc (LPTW lptw, HDROP hdrop) |
| void DragFunc | ( | LPTW | lptw, | |
| HDROP | hdrop | |||
| ) |
Definition at line 13 of file DragnDrop.c.
00014 { 00015 static char szFile[MAX_PATH]; 00016 int i, cFiles; 00017 00018 cFiles = DragQueryFile (hdrop, 0xffffffff, (LPSTR) NULL, 0); 00019 00020 lptw->bGetCh =FALSE; 00021 00022 for (i = 0; i < cFiles; i++) 00023 { 00024 DragQueryFile (hdrop, i, szFile, MAX_PATH); 00025 LaunchFilebyExtension(szFile); 00026 } 00027 DragFinish (hdrop); 00028 }
1.5.1