Skip to content

Instantly share code, notes, and snippets.

View bg1bgst333's full-sized avatar
😐

B.G bg1bgst333

😐
View GitHub Profile
@bg1bgst333
bg1bgst333 / MainWindow.cpp
Created June 25, 2024 07:43
CMenu::EnableMenuItem
// ヘッダのインクルード
// 既定のヘッダ
#include <stdio.h> // C標準入出力
// 独自のヘッダ
#include "MainWindow.h" // CMainWindow
#include "resource.h"
// ウィンドウクラス登録関数RegisterClass.
BOOL CMainWindow::RegisterClass(HINSTANCE hInstance) {
@bg1bgst333
bg1bgst333 / MainWindow.cpp
Created June 24, 2024 07:23
CWindow::DrawMenuBar
// ヘッダのインクルード
// 既定のヘッダ
#include <stdio.h> // C標準入出力
// 独自のヘッダ
#include "MainWindow.h" // CMainWindow
#include "resource.h"
// ウィンドウクラス登録関数RegisterClass.
BOOL CMainWindow::RegisterClass(HINSTANCE hInstance) {
@bg1bgst333
bg1bgst333 / MainWindow.cpp
Created June 24, 2024 01:30
CMenu::DeleteMenu
// ヘッダのインクルード
// 既定のヘッダ
#include <stdio.h> // C標準入出力
// 独自のヘッダ
#include "MainWindow.h" // CMainWindow
#include "resource.h"
// ウィンドウクラス登録関数RegisterClass.
BOOL CMainWindow::RegisterClass(HINSTANCE hInstance) {
@bg1bgst333
bg1bgst333 / MainWindow.cpp
Created June 23, 2024 09:31
CMenu::CreatePopupMenu
// ヘッダのインクルード
// 既定のヘッダ
#include <stdio.h> // C標準入出力
// 独自のヘッダ
#include "MainWindow.h" // CMainWindow
#include "resource.h"
// ウィンドウクラス登録関数RegisterClass.
BOOL CMainWindow::RegisterClass(HINSTANCE hInstance) {
@bg1bgst333
bg1bgst333 / MainWindow.cpp
Created June 21, 2024 02:41
CMenu::CreateMenu
// ヘッダのインクルード
// 既定のヘッダ
#include <stdio.h> // C標準入出力
// 独自のヘッダ
#include "MainWindow.h" // CMainWindow
#include "resource.h"
// ウィンドウクラス登録関数RegisterClass.
BOOL CMainWindow::RegisterClass(HINSTANCE hInstance) {
@bg1bgst333
bg1bgst333 / MainWindow.cpp
Created June 20, 2024 11:44
CWindow::SetMenu_pMenu
// ヘッダのインクルード
// 既定のヘッダ
#include <stdio.h> // C標準入出力
// 独自のヘッダ
#include "MainWindow.h" // CMainWindow
#include "resource.h"
// ウィンドウクラス登録関数RegisterClass.
BOOL CMainWindow::RegisterClass(HINSTANCE hInstance){
@bg1bgst333
bg1bgst333 / MainWindow.cpp
Created June 20, 2024 04:22
CWindow::SetMenu
// ヘッダのインクルード
// 既定のヘッダ
#include <stdio.h> // C標準入出力
// 独自のヘッダ
#include "MainWindow.h" // CMainWindow
#include "resource.h"
// ウィンドウクラス登録関数RegisterClass.
BOOL CMainWindow::RegisterClass(HINSTANCE hInstance) {
@bg1bgst333
bg1bgst333 / CMenu.rc
Created June 19, 2024 07:46
CMenu::LoadMenu
#include "resource.h"
IDM_MAINMENU MENU
BEGIN
POPUP "Item1"
BEGIN
MENUITEM "Item1-1(&A)", ID_ITEM_1_1
MENUITEM "Item1-2(&B)", ID_ITEM_1_2
MENUITEM "Item1-3(&C)", ID_ITEM_1_3
MENUITEM "Item1-4(&D)", ID_ITEM_1_4
@bg1bgst333
bg1bgst333 / MainWindow.cpp
Created June 19, 2024 03:06
CMenu::AppendMenu
// ヘッダのインクルード
// 既定のヘッダ
#include <stdio.h> // C標準入出力
// 独自のヘッダ
#include "MainWindow.h" // CMainWindow
#include "resource.h"
// ウィンドウクラス登録関数RegisterClass.
BOOL CMainWindow::RegisterClass(HINSTANCE hInstance){
@bg1bgst333
bg1bgst333 / MainWindow.cpp
Created June 18, 2024 02:02
CMenu::GetSubMenu
// ヘッダのインクルード
// 既定のヘッダ
#include <stdio.h> // C標準入出力
// 独自のヘッダ
#include "MainWindow.h" // CMainWindow
#include "resource.h"
// ウィンドウクラス登録関数RegisterClass.
BOOL CMainWindow::RegisterClass(HINSTANCE hInstance) {