init commit

This commit is contained in:
bMorgan01 2020-08-27 21:52:14 -06:00
commit 5b31734a5c
48 changed files with 877 additions and 0 deletions

BIN
.vs/WebinarsGUI/v16/.suo Normal file

Binary file not shown.

Binary file not shown.

BIN
Debug/WebinarsGUI.exe Normal file

Binary file not shown.

BIN
Debug/WebinarsGUI.ilk Normal file

Binary file not shown.

BIN
Debug/WebinarsGUI.pdb Normal file

Binary file not shown.

31
WebinarsGUI.sln Normal file
View file

@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30413.136
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WebinarsGUI", "WebinarsGUI\WebinarsGUI.vcxproj", "{82DC6DD0-9608-4F24-BC4E-8FFC58C663EC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{82DC6DD0-9608-4F24-BC4E-8FFC58C663EC}.Debug|x64.ActiveCfg = Debug|x64
{82DC6DD0-9608-4F24-BC4E-8FFC58C663EC}.Debug|x64.Build.0 = Debug|x64
{82DC6DD0-9608-4F24-BC4E-8FFC58C663EC}.Debug|x86.ActiveCfg = Debug|Win32
{82DC6DD0-9608-4F24-BC4E-8FFC58C663EC}.Debug|x86.Build.0 = Debug|Win32
{82DC6DD0-9608-4F24-BC4E-8FFC58C663EC}.Release|x64.ActiveCfg = Release|x64
{82DC6DD0-9608-4F24-BC4E-8FFC58C663EC}.Release|x64.Build.0 = Release|x64
{82DC6DD0-9608-4F24-BC4E-8FFC58C663EC}.Release|x86.ActiveCfg = Release|Win32
{82DC6DD0-9608-4F24-BC4E-8FFC58C663EC}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7537BD79-B661-40C6-93C3-4BBAE45EEF30}
EndGlobalSection
EndGlobal

View file

0
WebinarsGUI/AddDialog.h Normal file
View file

1
WebinarsGUI/Button.cpp Normal file
View file

@ -0,0 +1 @@
#include "Button.h"

10
WebinarsGUI/Button.h Normal file
View file

@ -0,0 +1,10 @@
#pragma once
#include "framework.h"
#include <string>
class Button {
public:
std::wstring name;
HWND wnd;
std::wstring cmd;
};

Binary file not shown.

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\Debug\WebinarsGUI.exe</ProjectOutputs>
<ContentFiles></ContentFiles>
<SatelliteDlls></SatelliteDlls>
<NonRecipeFileRefs></NonRecipeFileRefs>
</Project>

View file

@ -0,0 +1,11 @@
 WebinarsGUI.cpp
C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\WebinarsGUI\WebinarsGUI.cpp(168,52): warning C4018: '>': signed/unsigned mismatch
C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\WebinarsGUI\WebinarsGUI.cpp(236,20): warning C4101: 'hBrush': unreferenced local variable
C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\WebinarsGUI\WebinarsGUI.cpp(416,49): warning C4018: '>': signed/unsigned mismatch
C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\WebinarsGUI\WebinarsGUI.cpp(300,9): warning C4101: 'hdc': unreferenced local variable
C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\WebinarsGUI\WebinarsGUI.cpp(298,11): warning C4101: 'hFont': unreferenced local variable
C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\WebinarsGUI\WebinarsGUI.cpp(299,10): warning C4101: 'hctl': unreferenced local variable
C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\WebinarsGUI\WebinarsGUI.cpp(449,27): warning C4018: '<': signed/unsigned mismatch
C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\WebinarsGUI\WebinarsGUI.cpp(471,31): warning C4018: '<': signed/unsigned mismatch
C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\WebinarsGUI\WebinarsGUI.cpp(504,39): warning C4018: '<': signed/unsigned mismatch
WebinarsGUI.vcxproj -> C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\Debug\WebinarsGUI.exe

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,2 @@
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.27.29110:TargetPlatformVersion=10.0.18362.0:
Debug|Win32|C:\Users\benmo\Desktop\Ben\Projects\Programs\Cpp\WebinarsGUI\WebinarsGUI\|

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
WebinarsGUI/Debug/vc142.idb Normal file

Binary file not shown.

BIN
WebinarsGUI/Debug/vc142.pdb Normal file

Binary file not shown.

BIN
WebinarsGUI/WebinarsGUI.aps Normal file

Binary file not shown.

515
WebinarsGUI/WebinarsGUI.cpp Normal file
View file

@ -0,0 +1,515 @@
// WebinarsGUI.cpp : Defines the entry point for the application.
//
#include "WebinarsGUI.h"
#include "Button.h"
#include <string>
#include <fstream>
#include <algorithm>
#include <iostream>
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
WCHAR szTitle[MAX_LOADSTRING]; // The title bar text
WCHAR szWindowClass[MAX_LOADSTRING]; // the main window class name
HWND hWnd;
int width = 200, height = 300;
std::vector<Button*> classes;
std::vector<std::wstring> split(const std::wstring& str, const std::wstring& delim)
{
std::vector<std::wstring> tokens;
size_t prev = 0, pos = 0;
do
{
pos = str.find(delim, prev);
if (pos == std::wstring::npos) pos = str.length();
std::wstring token = str.substr(prev, pos - prev);
if (!token.empty()) tokens.push_back(token);
prev = pos + delim.length();
} while (pos < str.length() && prev < str.length());
return tokens;
}
// Forward declarations of functions included in this code module:
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM);
INT_PTR CALLBACK Add(HWND, UINT, WPARAM, LPARAM);
INT_PTR CALLBACK Remove(HWND, UINT, WPARAM, LPARAM);
int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
_In_opt_ HINSTANCE hPrevInstance,
_In_ LPWSTR lpCmdLine,
_In_ int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
// TODO: Place code here.
// Initialize global strings
LoadStringW(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
LoadStringW(hInstance, IDC_WEBINARSGUI, szWindowClass, MAX_LOADSTRING);
MyRegisterClass(hInstance);
// Perform application initialization:
if (!InitInstance (hInstance, nCmdShow))
{
return FALSE;
}
HACCEL hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_WEBINARSGUI));
MSG msg;
// Main message loop:
while (GetMessage(&msg, nullptr, 0, 0))
{
if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
return (int) msg.wParam;
}
//
// FUNCTION: MyRegisterClass()
//
// PURPOSE: Registers the window class.
//
ATOM MyRegisterClass(HINSTANCE hInstance)
{
WNDCLASSEXW wcex;
wcex.cbSize = sizeof(WNDCLASSEX);
wcex.style = CS_HREDRAW | CS_VREDRAW;
wcex.lpfnWndProc = WndProc;
wcex.cbClsExtra = 0;
wcex.cbWndExtra = 0;
wcex.hInstance = hInstance;
wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_WEBINARSGUI));
wcex.hCursor = LoadCursor(nullptr, IDC_ARROW);
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
wcex.lpszMenuName = MAKEINTRESOURCEW(IDC_WEBINARSGUI);
wcex.lpszClassName = szWindowClass;
wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_WEBINARSGUI));
return RegisterClassExW(&wcex);
}
//
// FUNCTION: InitInstance(HINSTANCE, int)
//
// PURPOSE: Saves instance handle and creates main window
//
// COMMENTS:
//
// In this function, we save the instance handle in a global variable and
// create and display the main program window.
//
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
{
hInst = hInstance; // Store instance handle in our global variable
hWnd = CreateWindowW(szWindowClass, szTitle, (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_BORDER),
CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, nullptr, nullptr, hInstance, nullptr);
int h, v;
GetDesktopResolution(h, v);
MoveWindow(hWnd, (h-width)/2, (v-height)/2, width + 15, height, true);
if (!hWnd)
{
return FALSE;
}
std::wstring name, code, pass;
std::wifstream fin("classes.txt");
if (fin.is_open()) {
do {
std::wstring line;
getline(fin, line);
std::vector<std::wstring> res = split(line, L"|");
if (res.size() >= 2) {
name = res[0];
code = res[1];
if (res.size() == 3) pass = res[2];
classes.push_back(new Button);
classes[classes.size() - 1]->cmd = LR"(%APPDATA%\Zoom\bin\Zoom.exe "--url=zoommtg://zoom.us/join?action=join&confno=)" + code;
if (res.size() == 3) classes[classes.size() - 1]->cmd += LR"(&pwd=)" + pass;
classes[classes.size() - 1]->name = name;
classes[classes.size() - 1]->wnd = CreateWindow(
L"BUTTON", // Predefined class; Unicode assumed
(LPCWSTR)name.c_str(), // Button text
WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, // Styles
(width - 100) / 2, // x position
75 + 35 * (classes.size() - 1), // y position
100, // Button width
25, // Button height
hWnd, // Parent window
NULL, // No menu.
(HINSTANCE)GetWindowLongPtr(hWnd, GWLP_HINSTANCE),
NULL); // Pointer not needed.
if (175 + 35 * (classes.size() - 1) > height) {
height += 35;
MoveWindow(hWnd, (h - width) / 2, (v - 300) / 2, width + 15, height, true);
}
}
} while (!fin.eof());
}
fin.close();
ShowWindow(hWnd, nCmdShow);
UpdateWindow(hWnd);
for (Button* b : classes) {
ShowWindow(b->wnd, nCmdShow);
UpdateWindow(b->wnd);
}
return TRUE;
}
//
// FUNCTION: WndProc(HWND, UINT, WPARAM, LPARAM)
//
// PURPOSE: Processes messages for the main window.
//
// WM_COMMAND - process the application menu
// WM_PAINT - Paint the main window
// WM_DESTROY - post a quit message and return
//
//
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_COMMAND:
{
int wmId = LOWORD(wParam);
// Parse the menu selections:
switch (wmId)
{
case BN_CLICKED:
for (Button* b : classes) {
if ((HWND)lParam == b->wnd) _wsystem(b->cmd.c_str());
}
PostQuitMessage(0);
break;
case IDM_ABOUT:
DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);
break;
case ID_FILE_ADDCLASS:
DialogBox(hInst, MAKEINTRESOURCE(IDD_DIALOG1), hWnd, Add);
break;
case ID_FILE_REMOVECLASS:
DialogBox(hInst, MAKEINTRESOURCE(IDD_DIALOG2), hWnd, Remove);
break;
case IDM_EXIT:
DestroyWindow(hWnd);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
}
break;
case WM_PAINT:
{
RECT rect;
HBRUSH hBrush;
HFONT hFont;
PAINTSTRUCT ps;
HDC hdc = BeginPaint(hWnd, &ps);
//Logical units are device dependent pixels, so this will create a handle to a logical font that is 48 pixels in height.
//The width, when set to 0, will cause the font mapper to choose the closest matching value.
//The font face name will be Impact.
hFont = CreateFont(36, 0, 0, 0, FW_DONTCARE, FALSE, FALSE, FALSE, DEFAULT_CHARSET, OUT_OUTLINE_PRECIS,
CLIP_DEFAULT_PRECIS, CLEARTYPE_QUALITY, VARIABLE_PITCH, TEXT("Impact"));
SelectObject(hdc, hFont);
//Sets the coordinates for the rectangle in which the text is to be formatted.
SetRect(&rect, 0, 15, 200, 290);
SetTextColor(hdc, RGB(0, 0, 0));
DrawText(hdc, TEXT("Webinar Links"), -1, &rect, DT_CENTER);
EndPaint(hWnd, &ps);
}
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
return 0;
}
// Message handler for about box.
INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
UNREFERENCED_PARAMETER(lParam);
switch (message)
{
case WM_INITDIALOG:
return (INT_PTR)TRUE;
case WM_COMMAND:
if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)
{
EndDialog(hDlg, LOWORD(wParam));
return (INT_PTR)TRUE;
}
break;
}
return (INT_PTR)FALSE;
}
// Message handler for about box.
INT_PTR CALLBACK Add(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
TCHAR lpszCode[MAX_LOADSTRING];
WORD cchCode;
TCHAR lpszPass[MAX_LOADSTRING];
WORD cchPass;
TCHAR lpszName[MAX_LOADSTRING];
WORD cchName;
HFONT hFont;
HWND hctl;
HDC hdc;
UNREFERENCED_PARAMETER(lParam);
switch (message)
{
case WM_INITDIALOG:
return (INT_PTR)TRUE;
case WM_COMMAND:
if (LOWORD(wParam) == IDOK)
{
cchCode = (WORD)SendDlgItemMessage(hDlg,
IDC_EDIT1,
EM_LINELENGTH,
(WPARAM)0,
(LPARAM)0);
if (cchCode == 0)
{
MessageBox(hDlg,
L"No room code entered.",
L"Error",
MB_OK);
EndDialog(hDlg, TRUE);
return FALSE;
}
// Put the number of characters into first word of buffer.
*((LPWORD)lpszCode) = cchCode;
// Get the characters.
SendDlgItemMessage(hDlg,
IDC_EDIT1,
EM_GETLINE,
(WPARAM)0, // line 0
(LPARAM)lpszCode);
// Null-terminate the string.
lpszCode[cchCode] = 0;
cchPass = (WORD)SendDlgItemMessage(hDlg,
IDC_EDIT2,
EM_LINELENGTH,
(WPARAM)0,
(LPARAM)0);
if (cchPass == 0)
{
if (MessageBox(hDlg,
L"Are you sure this room has no password?",
L"No characters entered.",
MB_YESNO) == IDNO) {
return FALSE;
}
}
// Put the number of characters into first word of buffer.
*((LPWORD)lpszPass) = cchPass;
// Get the characters.
SendDlgItemMessage(hDlg,
IDC_EDIT2,
EM_GETLINE,
(WPARAM)0, // line 0
(LPARAM)lpszPass);
// Null-terminate the string.
lpszPass[cchPass] = 0;
cchName = (WORD)SendDlgItemMessage(hDlg,
IDC_EDIT3,
EM_LINELENGTH,
(WPARAM)0,
(LPARAM)0);
if (cchName == 0)
{
MessageBox(hDlg,
L"No name entered.",
L"Error",
MB_OK);
EndDialog(hDlg, TRUE);
return FALSE;
}
// Put the number of characters into first word of buffer.
*((LPWORD)lpszName) = cchName;
// Get the characters.
SendDlgItemMessage(hDlg,
IDC_EDIT3,
EM_GETLINE,
(WPARAM)0, // line 0
(LPARAM)lpszName);
// Null-terminate the string.
lpszName[cchName] = 0;
classes.push_back(new Button);
classes[classes.size() - 1]->cmd = LR"(%APPDATA%\Zoom\bin\Zoom.exe "--url=zoommtg://zoom.us/join?action=join&confno=)" + (std::wstring)lpszCode + LR"(&pwd=)" + (std::wstring)lpszPass;
classes[classes.size() - 1]->name = lpszName;
classes[classes.size() - 1]->wnd = CreateWindow(
L"BUTTON", // Predefined class; Unicode assumed
lpszName, // Button text
WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, // Styles
(width - 100) / 2, // x position
75 + 35*(classes.size() -1), // y position
100, // Button width
25, // Button height
hWnd, // Parent window
NULL, // No menu.
(HINSTANCE)GetWindowLongPtr(hWnd, GWLP_HINSTANCE),
NULL); // Pointer not needed.
if (175 + 35 * (classes.size() - 1) > height) {
height += 35;
int h, v;
GetDesktopResolution(h, v);
MoveWindow(hWnd, (h - width) / 2, (v - 300) / 2, width + 15, height, true);
}
std::wofstream fout("classes.txt", std::ios::app);
fout << std::wstring(lpszName) << "|" << std::wstring(lpszCode) << "|" << std::wstring(lpszPass) << std::endl;
fout.close();
EndDialog(hDlg, LOWORD(wParam));
return (INT_PTR)TRUE;
}
else if (LOWORD(wParam) == IDCANCEL) {
EndDialog(hDlg, LOWORD(wParam));
return (INT_PTR)TRUE;
}
break;
}
return (INT_PTR)FALSE;
}
// Message handler for about box.
INT_PTR CALLBACK Remove(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
UNREFERENCED_PARAMETER(lParam);
HWND hwndList = GetDlgItem(hDlg, IDC_COMBO2);
switch (message)
{
case WM_INITDIALOG:
// Add items to list.
for (int i = 0; i < classes.size(); i++)
{
int pos = (int)SendMessage(hwndList, CB_ADDSTRING, 0,
(LPARAM)classes[i]->name.c_str());
// Set the array index of the player as item data.
// This enables us to retrieve the item from the array
// even after the items are sorted by the list box.
SendMessage(hwndList, CB_SETITEMDATA, pos, (LPARAM)i);
}
// Set input focus to the list box.
SetFocus(hwndList);
return (INT_PTR)TRUE;
case WM_COMMAND:
if (LOWORD(wParam) == IDOK)
{
int ItemIndex = SendMessage(hwndList, (UINT)CB_GETCURSEL,
(WPARAM)0, (LPARAM)0);
TCHAR ListItem[256];
(TCHAR)SendMessage(hwndList, (UINT)CB_GETLBTEXT,
(WPARAM)ItemIndex, (LPARAM)ListItem);
for (int i = 0; i < classes.size(); i++) {
if (classes[i]->name == ListItem) {
std::wstring line;
std::wifstream fin;
fin.open("classes.txt");
// contents of path must be copied to a temp file then
// renamed back to the path file
std::wofstream temp;
temp.open("temp.txt");
while (getline(fin, line)) {
// write all lines to temp other than the line marked for erasing
if (line.find(classes[i]->name) == std::wstring::npos)
temp << line << std::endl;
}
temp.close();
fin.close();
remove("classes.txt");
rename("temp.txt", "classes.txt");
DestroyWindow(classes[i]->wnd);
classes.erase(classes.begin() + i);
if (height - 35 > 300) {
height -= 35;
int h, v;
GetDesktopResolution(h, v);
MoveWindow(hWnd, (h - width) / 2, (v - 300) / 2, width + 15, height, true);
}
for (int j = i; j < classes.size(); j++) MoveWindow(classes[j]->wnd, (width - 100) / 2, 75 + 35 * j, 100, 25, true);
}
}
EndDialog(hDlg, LOWORD(wParam));
return (INT_PTR)TRUE;
} else if (LOWORD(wParam) == IDCANCEL) {
EndDialog(hDlg, LOWORD(wParam));
return (INT_PTR)TRUE;
}
break;
}
return (INT_PTR)FALSE;
}

19
WebinarsGUI/WebinarsGUI.h Normal file
View file

@ -0,0 +1,19 @@
#pragma once
#include "resource.h"
#include "framework.h"
// Get the horizontal and vertical screen sizes in pixel
void GetDesktopResolution(int& horizontal, int& vertical)
{
RECT desktop;
// Get a handle to the desktop window
const HWND hDesktop = GetDesktopWindow();
// Get the size of screen to the variable desktop
GetWindowRect(hDesktop, &desktop);
// The top left corner will have coordinates (0,0)
// and the bottom right corner will have coordinates
// (horizontal, vertical)
horizontal = desktop.right;
vertical = desktop.bottom;
}

BIN
WebinarsGUI/WebinarsGUI.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

BIN
WebinarsGUI/WebinarsGUI.rc Normal file

Binary file not shown.

View file

@ -0,0 +1,161 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{82dc6dd0-9608-4f24-bc4e-8ffc58c663ec}</ProjectGuid>
<RootNamespace>WebinarsGUI</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="Button.h" />
<ClInclude Include="framework.h" />
<ClInclude Include="Resource.h" />
<ClInclude Include="targetver.h" />
<ClInclude Include="WebinarsGUI.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="Button.cpp" />
<ClCompile Include="WebinarsGUI.cpp" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="WebinarsGUI.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="WebinarsGUI.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View file

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="framework.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Resource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="WebinarsGUI.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Button.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="targetver.h">
<Filter>Resource Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="WebinarsGUI.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Button.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="WebinarsGUI.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Image Include="WebinarsGUI.ico">
<Filter>Resource Files</Filter>
</Image>
</ItemGroup>
</Project>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>false</ShowAllFiles>
</PropertyGroup>
</Project>

5
WebinarsGUI/classes.txt Normal file
View file

@ -0,0 +1,5 @@
Calc III|98580136167|Y1ZTL3B4R2pkcEJBY3NGQ01hVE84dz09
Comp Org|94871087494|OVBqUmpsTDBsdHBzZUZpWEdUNGhzZz09
Chem Lecture|91392749032|dmtYcHlsSWtXN0FxaWRWbGFvWE1kUT09
HASS|99597782963|V2NqSkVPWDBKRXgrSmF5MythSHordz09
Personal|3852473325|

17
WebinarsGUI/framework.h Normal file
View file

@ -0,0 +1,17 @@
// header.h : include file for standard system include files,
// or project specific include files
//
#pragma once
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
// Windows Header Files
#include <windows.h>
// C RunTime Header Files
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
// C++ Headers
#include <vector>

34
WebinarsGUI/resource.h Normal file
View file

@ -0,0 +1,34 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by WebinarsGUI.rc
//
#define IDC_MYICON 2
#define IDD_WEBINARSGUI_DIALOG 102
#define IDS_APP_TITLE 103
#define IDD_ABOUTBOX 103
#define IDM_ABOUT 104
#define IDM_EXIT 105
#define IDI_WEBINARSGUI 107
#define IDC_WEBINARSGUI 109
#define IDR_MAINFRAME 128
#define IDD_DIALOG1 130
#define IDD_DIALOG2 131
#define IDC_EDIT1 1000
#define IDC_EDIT2 1001
#define IDC_EDIT3 1002
#define IDC_COMBO2 1004
#define ID_FILE_ADDCLASS 32771
#define ID_FILE_REMOVECLASS 32772
#define IDC_STATIC -1
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC 1
#define _APS_NEXT_RESOURCE_VALUE 134
#define _APS_NEXT_COMMAND_VALUE 32774
#define _APS_NEXT_CONTROL_VALUE 1009
#define _APS_NEXT_SYMED_VALUE 110
#endif
#endif

6
WebinarsGUI/targetver.h Normal file
View file

@ -0,0 +1,6 @@
#pragma once
// // Including SDKDDKVer.h defines the highest available Windows platform.
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
#include <SDKDDKVer.h>