This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ヘッダのインクルード | |
// 独自のヘッダ | |
#include "WebBrowserHost.h" // CWebBrowserHost | |
// コンストラクタCWebBrowserHost | |
CWebBrowserHost::CWebBrowserHost() : CUserControl() { | |
// メンバの初期化 | |
m_pWebBrowser2 = NULL; // m_pWebBrowser2をNULLで初期化. | |
m_hWndUndetermined = NULL; // m_hWndUndeterminedをNULLで初期化. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ヘッダのインクルード | |
// 既定のヘッダ | |
#include <stdio.h> // C標準入出力 | |
// 独自のヘッダ | |
#include "MainWindow.h" // CMainWindow | |
// ウィンドウクラス登録関数RegisterClass. | |
BOOL CMainWindow::RegisterClass(HINSTANCE hInstance) { | |
// ウィンドウクラス名は"CMainWindow". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ヘッダファイルのインクルード | |
// 既定のヘッダファイル | |
#include <windows.h> // 標準WindowsAPI | |
#include <tchar.h> // TCHAR型 | |
#include <commctrl.h> // コモンコントロール | |
// 独自のヘッダファイル | |
#include "resource.h" // リソースID | |
// マクロの宣言 | |
#define ID_BUTTON1 501 // Button1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ヘッダファイルのインクルード | |
#include <windows.h> // 標準WindowsAPI | |
#include <tchar.h> // TCHAR型 | |
#include <string.h> // C文字列処理 | |
#include <cstdio> // C標準入出力 | |
// 関数のプロトタイプ宣言 | |
LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); // ウィンドウメッセージに対して独自の処理をするように定義したコールバンク関数WindowProc. | |
// _tWinMain関数の定義 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ヘッダファイルのインクルード | |
// 既定のヘッダファイル | |
#include <windows.h> // 標準WindowsAPI | |
#include <tchar.h> // TCHAR型 | |
#include <commctrl.h> // コモンコントロール | |
// 独自のヘッダファイル | |
#include "resource.h" // リソースID | |
// マクロの宣言 | |
#define ID_BUTTON1 501 // Button1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ヘッダファイルのインクルード | |
// 既定のヘッダファイル | |
#include <windows.h> // 標準WindowsAPI | |
#include <tchar.h> // TCHAR型 | |
#include <commctrl.h> // コモンコントロール | |
// 独自のヘッダファイル | |
#include "resource.h" // リソースID | |
// マクロの宣言 | |
#define ID_BUTTON1 501 // Button1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ヘッダファイルのインクルード | |
// 既定のヘッダファイル | |
#include <windows.h> // 標準WindowsAPI | |
#include <tchar.h> // TCHAR型 | |
#include <commctrl.h> // コモンコントロール | |
// 独自のヘッダファイル | |
#include "resource.h" // リソースID | |
// マクロの宣言 | |
#define ID_BUTTON1 501 // Button1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; # 厳密な文法チェック. | |
use CGI; # CGI | |
use CGI::Session; # Session | |
# 標準出力のバッファ無効化.(これやらないとsleep中に表示なんてできない.) | |
BEGIN{ $| = 1; } | |
# CGIオブジェクトの作成. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; # 厳密な文法チェック. | |
use CGI; # CGI | |
use CGI::Session; # Session | |
# CGIオブジェクトの作成. | |
my $q = CGI->new; # CGI::newでCGIオブジェクトを生成し, $qに格納. | |
# セッション復元. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; # 厳密な文法チェック. | |
use CGI; # CGI | |
use CGI::Session; # Session | |
# CGIオブジェクトの作成. | |
my $q = CGI->new; # CGI::newでCGIオブジェクトを生成し, $qに格納. | |
# パラメータにユーザー名がある. |
NewerOlder