-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSerialSaveDialog.h
More file actions
32 lines (27 loc) · 913 Bytes
/
SerialSaveDialog.h
File metadata and controls
32 lines (27 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once
/*
* File: SerialSaveDialog.h
* Description:
* Creating a dialog to handle collecting information for performing a serial save of images
* Note that this is an experiment to try this without a class
* Log:
* 20221107: Initial creation
*/
#ifndef SERIALSAVEDIALOG_H
#define SERIALSAVEDIALOG_H
#define WIN32_LEAN_AND_MEAN
#define _CRT_SECURE_NO_WARNINGS
#include <windows.h>
#include <Windowsx.h>
#include <Commdlg.h>
#include <stdlib.h>
#include <shobjidl.h> // for SaveFile Dialog box
#include "resource.h"
extern char SSD_czFilePrefix[80];
extern char SSD_czFrameCount[80];
extern char SSD_czEndRainCount[80];
extern char SSD_czDirectory[80];
BOOL CALLBACK SerialSaveDialogProcInput(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);
bool SSD_DialogBox(HINSTANCE hAppInst, HWND hWndParent);
bool SSD_GetFolderSaveName(HWND hWndParent, char* pFolderPath, int iPathBufferSize);
#endif