Skip to content

Commit

Permalink
Add test menu resource with header file
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnetic-Fox committed Sep 10, 2023
1 parent 13bc402 commit 14dd75b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
10 changes: 10 additions & 0 deletions menuitems.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#ifndef MENUITEMS_H
#define MENUITEMS_H

#include <windows.h>

#define IDR_MENU1 200
#define ID_PLIK_ZAKONCZ 100
#define ID_POMOC_O 101

#endif
13 changes: 13 additions & 0 deletions test.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include "menuitems.h"

IDR_MENU1 MENU
BEGIN
POPUP "&Plik"
BEGIN
MENUITEM "Za&ko�cz\tAlt+F4", ID_PLIK_ZAKONCZ
END
POPUP "Pomo&c"
BEGIN
MENUITEM "&O programie", ID_POMOC_O
END
END

0 comments on commit 14dd75b

Please sign in to comment.