Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?>
<Application xmlns="http://schemas.microsoft.com/windows/2009/Ribbon">
<!-- 項目の定義 -->
<Application.Commands>
<!-- アプリケーションメニュー項目 -->
<Command Name="AppMenu">
<Command.TooltipDescription>
<String>ファイルメニュー</String>
</Command.TooltipDescription>
//更新日時
//2013/08/23
//2013/08/24
//2013/08/25
#ifndef _CHSLinearList_HPP_
#define _CHSLinearList_HPP_
#define HSLinearList_DefaultFirstSerialNumber 1
#include <iostream>
#include <cstdio>
#include "CHSLinearList.hpp"
using namespace std;
struct Mydata
{
char Text[100];
int number;
<?xml version="1.0" encoding="UTF-8"?>
<myanime>
<anime>
<name> アニメ1 </name>
<date> 20XX / YY / ZZ </date>
<storylist>
<story date = "20XX / YY / ZZ ">ストーリ1</story>
<story date = "20XX / YY / ZZ ">ストーリ2</story>
<story date = "20XX / YY / ZZ ">ストーリ3</story>
//2点のポイントからコントロールを選択する
BOOL CHSInternalDataAdmin::SetSelectFrom2Point(POINT in_pt1,POINT in_pt2){
RECT rt;
if(!this->lpData) return -1;
if(in_pt1.x < in_pt2.x){
rt.left = in_pt1.x;
rt.right = in_pt2.x;
}else{
rt.left = in_pt2.x;
@hirosof
hirosof / HSInternalData.cpp
Created August 11, 2013 07:31
HSInternalData
#pragma once
#include "HSInternalData.h"
CHSInternalDataAdmin::CHSInternalDataAdmin()
{
this->lpData = NULL;
}
#pragma once
#include <Windows.h>
#include <stdio.h>
typedef struct HSControlData
{
HWND hControl; //コントロール ウィンドウハンドル
WNDPROC OldProc; //従来のプロシージャ
#pragma once
#include <Windows.h>
#include <stdio.h>
typedef struct HSControlData
{
HWND hControl; //コントロール ウィンドウハンドル
WNDPROC OldProc; //従来のプロシージャ
@hirosof
hirosof / windowmeslist.xml
Created August 9, 2013 08:23
無駄にウィンドウメッセージのリスト(XML)を作ってみた
<?xml version="1.0" encoding="utf-8"?>
<winmsglist>
<item name = "WM_NULL">0x0000</item>
<item name = "WM_CREATE">0x0001</item>
<item name = "WM_DESTROY">0x0002</item>
<item name = "WM_MOVE">0x0003</item>
<item name = "WM_SIZE">0x0005</item>
<item name = "WM_ACTIVATE">0x0006</item>
<item name = "WM_SETFOCUS">0x0007</item>
<item name = "WM_KILLFOCUS">0x0008</item>
<?xml version="1.0" encoding="utf-8"?>
<artistlist>
<artist name = "声優1">
<anime name = "アニメ1" charname = "キャラ名1" />
<anime name = "アニメ2" charname = "キャラ名2" />
<!-- 以下略-->
<anime name = "アニメZ" charname = "キャラ名Z" />
</artist>
<artist name = "声優2">
<anime name = "アニメ1" charname = "キャラ名1" />