CArray の要素のコピー

FaceA::FaceA (const FaceA& other) { // ループによるコピー   Faces.SetSize(other.Faces.GetSize()) ;   for (int index […]

Continue Reading →

VC 2010 $(IncludePath)

Microsoft.Cpp.Xxxx.user.props の場所 C:\Users\(UserName)\AppData\Local\Microsoft\MSBuild\v4.0 http://msdn.microso […]

Continue Reading →

CImage::Draw 部分のメモ

//  AtlImage.h より inline BOOL CImage::Draw(   _In_ HDC hDestDC,   _In_ int xDest,   _In_ int yDest,   … […]

Continue Reading →

VC 6 で GlobalMemoryStatusEx

#if(_MFC_VER >= 0x0700)   #include <WinBase.h> #else #include <Windows.h> #include <TChar.h& […]

Continue Reading →

EMF への保存

Displaying a Picture and Storing It in an Enhanced Metafile http://msdn.microsoft.com/en-us/library/dd183568.a […]

Continue Reading →

DIB の縮小表示

サイズの大きな画像を縮小して表示すると汚くなる SetStretchBltMode の指定が必要. http://msdn.microsoft.com/ja-jp/library/cc428734.aspx Is thi […]

Continue Reading →

「応答なし」になり難くする

//******************************************************************************* // 関数名 :時間がかかる時に,応答なしにならない様に […]

Continue Reading →

Win7 srv 2017

ログの名前: Systemソース: srv日付: 2010/01/08 21:15:09イベント ID: 2017タスクのカテゴリ: なしレベル: エラーキーワード: クラシックユーザー: N/Aコンピューター: T54 […]

Continue Reading →

Win7 エクスプローラ左のツリーの展開

Windows 7 のエクスプローラで,左側にあるフォルダツリーを自動で展開表示する設定 Is this 投稿 useful? Useful Useless 0 of 0 people say this 投稿 is us […]

Continue Reading →

画像付 RecentFile の追加

RecentFileMF クラスを利用して,画像でのメニュー表示を可能にする ODMenu を利用可能な様に追加する.アプリケーションクラスのヘッダなどで MetaFile.hxx をインクルードして,ODMMetaFi […]

Continue Reading →

ツールバーにドロップダウンボタン

ツール バー コントロールでのドロップダウン ボタンの使い方 http://msdn.microsoft.com/ja-jp/library/1ke6s1fc.aspx   上の方法だけでは,MFC のバージョンによりう […]

Continue Reading →

ファイルを選択した状態で explorer.exe

explorer.exe /select,c:~exmple.txt http://support.microsoft.com/kb/314853/ja https://www.betaarchive.com/wiki/ […]

Continue Reading →

CChildFrame を最大化して表示

MDI の新規ウィンドウで ChildFrame を最大化して表示 BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs) {   cs.style = WS_CH […]

Continue Reading →

分割ウィンドウ CSplitterWnd

MDI 分割ウィンドウ ChildFrm.cpp 内の CChildFrame::OnCreateClient で分割数などを指定している. SDI は,CMainFrame::OnCreateClient  静的分割ウ […]

Continue Reading →

CString で保存される形式

BOM — U+FEFF UNICODE  FF FE FF  04  32 00  30 00  31 00  30 00  MBCS    04 32 30 31 30 //  VC98\MFC\SRC\ […]

Continue Reading →

X02T Bluetooth Profile

HSP Headset Profile デバイスとBluetooth 対応ヘッドセットとの通信に使用する。 HFP Hands-Free Profile ハンズフリーデバイスで発呼および着呼する。 SPP Serial […]

Continue Reading →

PSAPI

他のプロセスのメモリの使用状況などを求める. EnumProcesses EnumProcessModules GetModuleFileNameEx http://cid-535f5973454c1292.office […]

Continue Reading →

ビューのそのままを 1 ページに印刷

CXxxxView::OnDraw が以下の様な場合,それを単純にプリンタに送る {   CXxxxDoc* pDoc = GetDocument();   CRect drawRect ;   GetClie […]

Continue Reading →

ドキュメントのダブルクリックを無効に

ドキュメントのファイルタイプを指定してスケルトンを作成した場合 CXxxxApp::InitInstance 内の以下をコメントに  // EnableShellOpen();  // RegisterShellFile […]

Continue Reading →

MDI , SDI へのドロップの追加

CXxxxApp::InitInstance のメインフレームを作成した後に,以下を追加. m_pMainWnd->DragAcceptFiles(); Is this 投稿 useful? Useful Usel […]

Continue Reading →