resources... i hate them
the dialogs are pretty chill though
This commit is contained in:
@@ -13,4 +13,44 @@
|
|||||||
#include "dialog.h"
|
#include "dialog.h"
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
// #define WIN32_LEAN_AND_MEAN
|
// #define WIN32_LEAN_AND_MEAN
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
|
|
||||||
|
/* Functions */
|
||||||
|
|
||||||
|
/* * * *\
|
||||||
|
ItemDlgProc -
|
||||||
|
Dialog procedure for creating or modifying
|
||||||
|
an item.
|
||||||
|
RETURNS -
|
||||||
|
TRUE if message is handled, FALSE otherwise.
|
||||||
|
\* * * */
|
||||||
|
BOOL CALLBACK ItemDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
|
{
|
||||||
|
switch (message)
|
||||||
|
{
|
||||||
|
|
||||||
|
// Place message cases here.
|
||||||
|
|
||||||
|
default:
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* * * *\
|
||||||
|
GroupDlgProc -
|
||||||
|
Dialog procedure for creating or modifying
|
||||||
|
a group.
|
||||||
|
RETURNS -
|
||||||
|
TRUE if message is handled, FALSE otherwise.
|
||||||
|
\* * * */
|
||||||
|
BOOL CALLBACK GroupDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
|
{
|
||||||
|
switch (message)
|
||||||
|
{
|
||||||
|
|
||||||
|
// Place message cases here.
|
||||||
|
|
||||||
|
default:
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -10,3 +10,7 @@
|
|||||||
|
|
||||||
/* Pragmas */
|
/* Pragmas */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
/* Function Prototypes */
|
||||||
|
BOOL CALLBACK ItemDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||||
|
BOOL CALLBACK GroupDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -17,6 +17,7 @@
|
|||||||
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||||
#pragma code_page(65001) // UTF-8
|
#pragma code_page(65001) // UTF-8
|
||||||
#include "lang\res_en-US.rc" // English (US)
|
#include "lang\res_en-US.rc" // English (US)
|
||||||
|
#include "lang\dlg_en-US.rc" // English (US)
|
||||||
|
|
||||||
/* Icon Library */
|
/* Icon Library */
|
||||||
// Primary
|
// Primary
|
||||||
|
|||||||
Reference in New Issue
Block a user