If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: mibc.blog.fc2.com - MIBC.

site address: mibc.blog.fc2.com

site title: MIBC

Our opinion (on Thursday 29 October 2026 7:18:48 UTC):

GREEN status (no comments) - no comments

Meta tags:
description=趣味で始めた電子工作・プログラミングのメモです;
author=;
keywords=ブログ, blog, FC2, エントリー, 日記;

Headings (most frequently used words):

clistctrl, 右クリックした位置のデータを取得する, 趣味で始めた電子工作, プログラミングのメモです, line, messaging, apiをwindows環境からcurlで実行するときについて, ポップアップメニュー, 後編, 前編, clistctrlのサブクラス化, mcuxpresso, ideのエディターの文字化けを直す,

Text of the page (most frequently used words):
item (134), isubitem (62), lvcol (60), lpcustomdraw (60), psztext (48), lpstr (48), ctestlistview (38), void (38), int (32), rgb (32), presult (29), setitem (24), clistctrl (23), return (22), row (22), tlvhitinfo (22), lpcreatestruct (20), rect (20), strtext (20), m_clistctrl (20), iitem (18), break (17), clrtextbk (16), clrtext (16), pnmhdr (15), col (14), afx_msg (14), insertmycolumn (13), insertmyitem (13), case (13), cframewnd_ (13), insertcolumn (12), insertitem (12), oncreate (12), onsize (12), uint (12), ntype (12), nmcd (12), point (12), include (11), public (11), getitemtext (10), onnmcustomdraw (9), mask (8), lv_item (8), nmhdr (8), lresult (8), lpnmlvcustomdraw (8), cstring (8), cdrf_dodefault (8), cdds_itemprepaint (8), dwitemspec (8), 性別によって (8), リストの背景色を変える (8), 230 (8), 158 (8), 216 (8), else (8), 128 (8), 209 (8), 241 (8), cdrf_newfont (8), wparam (7), text (6), entry (6), memset (6), sizeof (6), null (6), ctestlistviewに移動のため (6), onrbuttondown (6), nflags (6), strmsg (6), strdata (6), cmenu (6), category (5), trackbacks (5), comments (5), getclientrect (5), switch (5), class (5), cpoint (5), データ取得 (5), lparam (5), mcuxpresso (4), 2020 (4), begin_message_map (4), on_wm_create (4), on_wm_size (4), nm_customdraw (4), end_message_map (4), lv_column (4), lvcf_fmt (4), lvcf_width (4), lvcf_text (4), lvcf_subitem (4), fmt (4), lvcfmt_left (4), 100 (4), 200 (4), lvif_text (4), 神奈川県鎌倉市 (4), 兵庫県芦屋市 (4), 東京都江戸川区 (4), movewindow (4), 描画ステージ (4), dwdrawstage (4), cdds_prepaint (4), cdrf_notifyitemdraw (4), cdds_subitem (4), default (4), cpp (4), declare_message_map (4), cframewnd (4), dwstyle (4), this (4), cwinapp_ (4), bool (4), 右クリックした位置のデータを取得する (4), line (4), mibc備忘録 (3), blog (3), windows (3), ポイント (3), on_notify_reflect (3), lpnmcustomdraw (3), pnmcd (3), reinterpret_cast (3), pragma (3), once (3), resource (3), onend (3), oncustomdraw (3), idc_list (3), m_pmainwnd (3), プログラム (3), subitem (3), m_rb_clickpoint (3), id_popupmenu_get_data (3), oncommand (3), define (3), message (3), type (3), authorization (3), all (2), lpcマイコン (2), excel (2), font (2), 新規追加 (2), ctestlistviewに移動 (2), idm_end (2), endif (2), virtual (2), initinstance (2), clistctrlのサブクラス化 (2), on_wm_rbuttondown (2), lvhittestinfo (2), 0x00 (2), subitemhittest (2), format (2), messagebox (2), ポップアップメニューの (2), loword (2), messaging (2), というエラー (2), となる (2), json (2), bearer (2), hello (2), the (2), fc2ad, copyright, rights, reserved, designed, hiro, このブログをリンクに追加する, 管理画面, gushwell, programming, page, 日昇テクノロジー, aitendo, スイッチサイエンス, ストロベリー, リナックス, 共立エレショップ, マルツパーツ館, 秋月電子, リンク, linux, renesas, pic, raspberry, xbox, unity, directshow, ゲーム, cygwin, 2010, subversion, open, 未分類, stm32, asp, net, java, vba, プログラミング, servo, usart, 赤外線リモコン, led, jtag, ov7670, fifo, wiz820io, xbee, 電子工作, カテゴリ, admax, revolver, map, アクセスカウンター, author, mibc, ブログに掲載している配線図, プログラムを使用しても良いですが, 障害が発生しても一切責任を負いません, ご了承よろしくお願いします, お願い, 予想を反して色々な方がこのホームページを見にこられるようになってきております, もし参考になった記事がありましたら, 拍手ボタンを押していただけるとどの様な記事が良かったかの資料となったり, 今後の励みになったりします, お手数ですが参考になった記事がありましたら, 参考になった記事の一番最後にあります拍手ボタンを押していただけると助かります, よろしくお願いします, プロフィール, next, ideのメニューバーから, preferences, を選択する, 以下の設定ダイアログが表示されたら, 左側のリストから, general, appearance, colors, and, fonts, を選択し, 右側の項目から, basic, editor, block, selection, という項目があるので, この項目をダブルクリックするとフォントを変更するダイアログが表示されるので, 日本語が表示できるフォントに変更する, おすすめフォント, メイリオ, ideのエディターの文字化けを直す手順, ideのエディター内の日本語が以下のように文字化けしているのを直す手順を記載します, ideのエディターの文字化けを直す, リスト部分を右クリックした位置のデータを取得するのにりすと, のイベントを取得しなければいけないため, clistctrlを継承するctestlistviewクラスを作成します, clistctrlを継承したctestlistviewクラスを作成する, cframewnd_クラスに実装していた, oncustomdrawメソッドをctestlistviewクラスへ移す, ctestlistviewクラスにoncreateメソッドにリストヘッダー表示とリストデータの処理, onsizeメソッドにウィンドウサイズが変化した際にリストビューのサイズを変更する処理を追加, cframewndの派生クラスcframewnd_の定義, コンストラクタ, メッセージマップの利用を宣言, cframewnd_のメッセージマップ, on_command, on_notify, フレームウィンドウの作成, create, apptest, ws_overlappedwindow, rectdefault, mymenu, sendmessage, wm_close, dword, createex, ws_child, ws_visible, lvs_report, getextendedstyle, lvs_ex_checkboxes, lvs_ex_fullrowselect, lvs_ex_gridlines, lvs_ex_headerdragdrop, setextendedstyle, cdrf_notifysubitemdraw, cwinappの派生クラスcwinapp_の定義, cwinapp, cframewnd_クラスを生成してm_pmainwindに格納, new, showwindow, m_ncmdshow, updatewindow, true, theapp, listctrl_testapp, 変更があった部分だけ掲載します, のソースをもとに作成していきます, カスタムドロー, clistctrlのサブクラス化したctestlistviewにイベントが受けれる状態となったので, リスト上で右クリックしたときに, 右クリックした位置のデータを表示するようにします, クラスウィザードを使用して, ctestlistviewに右クリック押下のイベント, wm_rbuttondown, を追加する, onrbuttondownの引数, で右クリックした位置がわかるので, lvhittestinfo構造体のptにセットしてsubitemhittest関数に引数として渡すと, リストのitem, が取得できる, のソースを修正して, リストの上で右クリックしたらポップアップメニューを表示し, を選択するとリストのデータを表示させるようにします, ctestlistviewの右クリック処理でポップアップメニューを表示させる, oncommandでポップアップメニューの, のidが選択されているのを判別し, が選択されていたらポップアップを表示するときに使用した右クリック位置を元にリストのデータを取得して表示する, 右クリック位置を保持, ポップアップメニューを表示, clienttoscreen, createpopupmenu, appendmenu, mf_string, mf_enabled, trackpopupmenu, tpm_leftalign, tpm_rightbutton, destroymenu, どのメニュー項目が選択されたかを判定する, で選択されたメニュー項目のidを取得できる, 保持してある右クリック位置を元にリストのデータを取得して表示する, private, 1001, 1000, 2000, 右クリック位置はctestliteviewクラスのメンバーとして保持しておく, を選択すると, リストのデータが表示される, ポップアップメニュー, apiのドキュメントを参考にしながら, windows環境のcurlから実行したところ以下の2点でハマったのでメモっておきます, 正しいチャンネルアカウントトークンを指定しているにも関わらず, 認証エラー, ドキュメントに記載されているリクエスト例にて, パラメータとして括っているシングルコーテーションをダブルコーテーションに変更する, ドキュメントのリクエスト例どおりのリクエストボディ, json形式, を渡しているにも関わらず, json解析ができないエラー, パラメータとして括っている中のダブルコーテーションの前に, をつける, 2021, curl, post, https, api, bot, broadcast, content, application, channel, access, token, messages, world1, world2, windows環境のcurlで実行する場合のmessagingapi, リクエスト例, エスケープ文字, request, body, could, not, parsed, column, header, required, must, follow, scheme, apiをwindows環境からcurlで実行するときについて, making, login, bookmark, rss, top, 趣味で始めた電子工作, プログラミングのメモです,


Text of the page (random words):
プメニューを表示させる oncommandでポップアップメニューの データ取得 のidが選択されているのを判別し データ取得 が選択されていたらポップアップを表示するときに使用した右クリック位置を元にリストのデータを取得して表示する 右クリック位置はctestliteviewクラスのメンバーとして保持しておく プログラム resource h 変更 define idm_end 1001 define idc_list 1000 define id_popupmenu_get_data 2000 追加 ctestlistview h 変更 pragma once include class ctestlistview public clistctrl public cpoint m_rb_clickpoint 追加 private void insertmycolumn void insertmyitem public declare_message_map afx_msg int oncreate lpcreatestruct lpcreatestruct afx_msg void onsize uint ntype int cx int cy afx_msg void onnmcustomdraw nmhdr pnmhdr lresult presult afx_msg void onrbuttondown uint nflags cpoint point virtual bool oncommand wparam wparam lparam lparam 追加 ctestlistview cpp 変更 include ctestlistview h include resource h 追加 begin_message_map ctestlistview clistctrl on_wm_create on_wm_size on_notify_reflect nm_customdraw ctestlistview onnmcustomdraw on_wm_rbuttondown end_message_map void ctestlistview insertmycolumn lv_column lvcol lvcol mask lvcf_fmt lvcf_width lvcf_text lvcf_subitem lvcol fmt lvcfmt_left lvcol cx 100 lvcol psztext lpstr 名前 lvcol isubitem 0 insertcolumn 0 lvcol lvcol cx 50 lvcol psztext lpstr 性別 lvcol isubitem 1 insertcolumn 1 lvcol lvcol cx 200 lvcol psztext lpstr 住所 lvcol isubitem 2 insertcolumn 2 lvcol return void ctestlistview insertmyitem lv_item item memset item 0 sizeof lv_item item mask lvif_text item psztext lpstr 鈴木 一郎 item iitem 0 item isubitem 0 insertitem item item psztext lpstr 男 item isubitem 1 setitem item item psztext lpstr 神奈川県鎌倉市 item isubitem 2 setitem item item psztext lpstr 杉山 双葉 item iitem 1 item isubitem 0 insertitem item item psztext lpstr 女 item isubitem 1 setitem item item psztext lpstr 兵庫県芦屋市 item isubitem 2 setitem item item psztext lpstr 太田 みく item iitem 2 item isubitem 0 insertitem item item psztext lpstr 女 item isubitem 1 setitem item item psztext lpstr 東京都江戸川区 item isubitem 2 setitem item return int ctestlistview oncreate lpcreatestruct lpcreatestruct if clistctrl oncreate lpcreatestruct 1 return 1 insertmycolumn insertmyitem return 0 void ctestlistview onsize uint ntype int cx int cy clistctrl onsize ntype cx cy rect rect getclientrect rect movewindow rect void ctestlistview onnmcustomdraw nmhdr pnmhdr lresult presult lpnmcustomdraw pnmcd reinterpret_cast pnmhdr lpnmlvcustomdraw lpcustomdraw null int row 0 int col 0 cstring strtext lpcustomdraw lpnmlvcustomdraw pnmhdr presult cdrf_dodefault 描画ステージ switch lpcustomdraw nmcd dwdrawstage case cdds_prepaint presult cdrf_notifyitemdraw break case cdds_itemprepaint row lpcustomdraw nmcd dwitemspec col lpcustomdraw isubitem 性別によって リストの背景色を変える strtext getitemtext row 1 if strtext 女 lpcustomdraw clrtextbk rgb 230 158 216 lpcustomdraw clrtext rgb 0 0 0 else lpcustomdraw clrtextbk rgb 128 209 241 lpcustomdraw clrtext rgb 0 0 0 presult cdrf_newfont break case cdds_subitem cdds_itemprepaint row lpcustomdraw nmcd dwitemspec col lpcustomdraw isubitem 性別によって リストの背景色を変える strtext getitemtext row 1 if strtext 女 lpcustomdraw clrtextbk rgb 230 158 216 lpcustomdraw clrtext rgb 0 0 0 else lpcustomdraw clrtextbk rgb 128 209 241 lpcustomdraw clrtext rgb 0 0 0 presult cdrf_newfont break default presult cdrf_dodefault break return 変更 void ctestlistview onrbuttondown uint nflags cpoint point 右クリック位置を保持 m_rb_clickpoint point ポップアップメニューを表示 clienttoscreen point cmenu cmenu cmenu createpopupmenu cmenu appendmenu mf_string mf_enabled id_popupmenu_get_data データ取得 g cmenu trackpopupmenu tpm_leftalign tpm_rightbutton point x point y this cmenu destroymenu clistctrl onrbuttondown nflags point 追加 bool ctestlistview oncommand wparam wparam lparam lparam どのメニュー項目が選択されたかを判定する loword wparam で選択されたメニュー項目のidを取得できる switch loword wparam case id_popupmenu_get_data 保持してある右クリック位置を元にリストのデータを取得して表示する cstring strmsg cstring strdata lvhittestinfo tlvhitinfo memset tlvhitinfo 0x00 sizeof tlvhitinfo tlvhitinfo pt m_rb_clickpoint subitemhittest tlvhitinfo if tlvhitinfo iitem 1 tlvhitinfo isubitem 1 strdata getitemtext tlvhitinfo iitem tlvhitinfo isubitem strmsg format item row d subitem col d n s tlvhitinfo iitem tlvhitinfo isubitem strdata messagebox strmsg break return clistctrl oncommand wparam lparam entry 2020 05 31 category vc comments 0 trackbacks 0 clistctrl 右クリックした位置のデータを取得する 後編 clistctrl 右クリックした位置のデータを取得する 前編 clistctrlのサブクラス化 にて clistctrlのサブクラス化したctestlistviewにイベントが受けれる状態となったので リスト上で右クリックしたときに 右クリックした位置のデータを表示するようにします ポイント クラスウィザードを使用して ctestlistviewに右クリック押下のイベント wm_rbuttondown を追加する onrbuttondownの引数 point で右クリックした位置がわかるので lvhittestinfo構造体のptにセットしてsubitemhittest関数に引数として渡すと リストのitem 行 subitem 列 が取得できる プログラム ctestlistview h 変更 pragma once include class ctestlistview public clistctrl void insertmycolumn void insertmyitem public declare_message_map afx_msg int oncreate lpcreatestruct lpcreatestruct afx_msg void onsize uint ntype int cx int cy afx_msg void onnmcustomdraw nmhdr pnmhdr lresult presult afx_msg void onrbuttondown uint nflags cpoint point 追加 ctestlistview cpp 変更 include ctestlistview h begin_message_map ctestlistview clistctrl on_wm_create on_wm_size on_notify_reflect nm_customdraw ctestlistview onnmcustomdraw on_wm_rbuttondown end_message_map void ctestlistview insertmycolumn lv_column lvcol lvcol mask lvcf_fmt lvcf_width lvcf_text lvcf_subitem lvcol fmt lvcfmt_left lvcol cx 100 lvcol psztext lpstr 名前 lvcol isubitem 0 insertcolumn 0 lvcol lvcol cx 50 lvcol psztext lpstr 性別 lvcol isubitem 1 insertcolumn 1 lvcol lvcol cx 200 lvcol psztext lpstr 住所 lvcol isubitem 2 insertcolumn 2 lvcol return void ctestlistview insertmyitem lv_item item memset item 0 sizeof lv_item item mask lvif_text item psztext lpstr 鈴木 一郎 item iitem 0 item isubitem 0 insertitem item item psztext lpstr 男 item isubitem 1 setitem item item psztext lpstr 神奈川県鎌倉市 item isubitem 2 setitem item item psztext lpstr 杉山 双葉 item iitem 1 item isubitem 0 insertitem item item psztext lpstr 女 item isubitem 1 setitem item item psztext lpstr 兵庫県芦屋市 item isubitem 2 setitem item item psztext lpstr 太田 みく item iitem 2 item isubitem 0 insertitem item item psztext lpstr 女 item isubitem 1 setitem item item psztext lpstr 東京都江戸川区 item isubitem 2 setitem item return int ctestlistview oncreate lpcreatestruct lpcreatestruct if clistctrl oncreate lpcreatestruct 1 return 1 insertmycolumn insertmyitem return 0 void ctestlistview onsize uint ntype int cx int cy clistctrl onsize ntype cx cy rect rect getclientrect rect movewindow rect void ctestlistview onnmcustomdraw nmhdr pnmhdr lresult presult lpnmcustomdraw pnmcd reinterpret_cast pnmhdr lpnmlvcustomdraw lpcustomdraw null int row 0 int col 0 cstring strtext lpcustomdraw lpnmlvcustomdraw pnmhdr presult cdrf_dodefault 描画ステージ switch lpcustomdraw nmcd dwdrawstage case cdds_prepaint presult cdrf_notifyitemdraw break case cdds_itemprepaint row lpcustomdraw nmcd dwitemspec col lpcustomdraw isubitem 性別によって リストの背景色を変える strtext getitemtext row 1 if strtext 女 lpcustomdraw clrtextbk rgb 230 158 216 lpcustomdraw clrtext rgb 0 0 0 else lpcustomdraw clrtextbk rgb 128 209 241 lpcustomdraw clrtext rgb 0 0 0 presult cdrf_newfont break case cdds_subitem cdds_itemprepaint row lpcustomdraw nmcd dwitemspec col lpcustomdraw isubitem 性別によって リストの背景色を変える strtext getitemtext row 1 if strtext 女 lpcustomdraw clrtextbk rgb 230 158 216 lpcustomdraw clrtext rgb 0 0 0 else lpcustomdraw clrtextbk rgb 128 209 241 lpcustomdraw clrtext rgb 0 0 0 presult cdrf_newfont break default presult cdrf_dodefault break return 追加 void ctestlistview onrbuttondown uint nflags cpoint point cstring strmsg cstring strdata lvhittestinfo tlvhitinfo memset tlvhitinfo 0x00 sizeof tlvhitinfo tlvhitinfo pt point subitemhittest tlvhitinfo if tlvhitinfo iitem 1 tlvhitinfo isubitem 1 strdata getitemtext tlvhitinfo iitem tlvhitinfo isubitem strmsg format item row d subitem col d n s tlvhitinfo iitem tlvhitinfo isubitem strdata messagebox strmsg clistctrl onrbuttondown nflags point entry 2020 05 31 category vc comments 0 trackbacks 0 clistctrl 右クリックした位置のデータを取得する 前編 clistctrlのサブクラス化 リスト部分を右クリックした位置のデータを取得するのにりすと clistctrl のイベントを取得しなければいけないため clistctrlを継承するctestlistviewクラスを作成します clistctrl カスタムドロー のソースをもとに作成していきます ポイント clistctrlを継承したctestlistviewクラスを作成する cframewnd_クラスに実装していた insertmycolumn insertmyitem oncustomdrawメソッドをctestlistviewクラスへ移す ctestlistviewクラスにoncreateメソッドにリストヘッダー表示とリストデータの処理 onsizeメソッドにウィンドウサイズが変化した際にリストビューのサイズを変更する処理を追加 プログラム 変更があった部分だけ掲載します listctrl_testapp cpp 変更 include include include ctestlistview h 追加 include resource h cframewnd_ cframewndの派生クラスcframewnd_の定義 class cframewnd_ public cframewnd public clistctrl m_clistctrl ctestlistview m_clistctrl コンストラクタ cframewnd_ void onend void insertmycolumn ctestlistviewに移動 void insertmyitem ctestlistviewに移動 メッセージマップの利用を宣言 declare_message_map afx_msg int oncreate lpcreatestruct lpcreatestruct afx_msg void onsize uint ntype int cx int cy afx_msg void oncustomdraw nmhdr pnmhdr lresult presult ctestlistviewに移動のため cframewnd_のメッセージマップ begin_message_map cframewnd_ cframewnd on_command idm_end onend on_wm_create on_wm_size on_notify nm_customdraw idc_list oncustomdraw ctestlistviewに移動のため end_message_map cframewnd_ cframewnd_ フレームウィンドウの作成 create null apptest ws_overlappedwindow rectdefault null mymenu void cframewnd_ onend sendmessage wm_close int cframewnd_ oncreate lpcreatestruct lpcreatestruct if cframewnd oncreate lpcreatestruct 1 return 1 dword dwstyle rect rect this getclientrect rect m_clistctrl createex 0 ws_child ws_visible lvs_report rect this idc_list dwstyle m_clistctrl getextendedstyle dwstyle lvs_ex_checkboxes lvs_ex_fullrowselect lvs_ex_gridlines lvs_ex_headerdragdrop m_clistctrl setextendedstyle dwstyle insertmycolumn ctestlistviewに移動のため insertmyitem ctestlistviewに移動のため return 0 ctestlistviewに移動のため if 0 void cframewnd_ insertmycolumn lv_column lvcol lvcol mask lvcf_fmt lvcf_width lvcf_text lvcf_subitem lvcol fmt lvcfmt_left lvcol cx 100 lvcol psztext lpstr 名前 lvcol isubitem 0 m_clistctrl insertcolumn 0 lvcol lvcol cx 50 lvcol psztext lpstr 性別 lvcol isubitem 1 m_clistctrl insertcolumn 1 lvcol lvcol cx 200 lvcol psztext lpstr 住所 lvcol isubitem 2 m_clistctrl insertcolumn 2 lvcol return void cframewnd_ insertmyitem lv_item item memset item 0 sizeof lv_item item mask lvif_text item psztext lpstr 鈴木 一郎 item iitem 0 item isubitem 0 m_clistctrl insertitem item item psztext lpstr 男 item isubitem 1 m_clistctrl setitem item item psztext lpstr 神奈川県鎌倉市 item isubitem 2 m_clistctrl setitem item item psztext lpstr 杉山 双葉 item iitem 1 item isubitem 0 m_clistctrl insertitem item item psztext lpstr 女 item isubitem 1 m_clistctrl setitem item item psztext lpstr 兵庫県芦屋市 item isubitem 2 m_clistctrl setitem item item psztext lpstr 太田 みく item iitem 2 item isubitem 0 m_clistctrl insertitem item item psztext lpstr 女 item isubitem 1 m_clistctrl setitem item item psztext lpstr 東京都江戸川区 item isubitem 2 m_clistctrl setitem item return endif void cframewnd_ onsize uint ntype int cx int cy cframewnd onsize ntype cx cy rect rect this getclientrect rect m_clistctrl movewindow rect ctestlistviewに移動のため if 0 void cframewnd_ oncustomdraw nmhdr pnmhdr lresult presult lpnmlvcustomdraw lpcustomdraw null int row 0 int col 0 cstring strtext lpcustomdraw lpnmlvcustomdraw pnmhdr presult cdrf_dodefault 描画ステージ switch lpcustomdraw nmcd dwdrawstage case cdds_prepaint presult cdrf_notifyitemdraw break case cdds_itemprepaint row lpcustomdraw nmcd dwitemspec col lpcustomdraw isubitem 性別によって リストの背景色を変える strtext m_clistctrl getitemtext row 1 if strtext 女 lpcustomdraw clrtextbk rgb 230 158 216 lpcustomdraw clrtext rgb 0 0 0 else lpcustomdraw clrtextbk rgb 128 209 241 lpcustomdraw clrtext rgb 0 0 0 presult cdrf_newfont presult cdrf_notifysubitemdraw break case cdds_subitem cdds_itemprepaint row lpcustomdraw nmcd dwitemspec col lpcustomdraw isubitem 性別によって リストの背景色を変える strtext m_clistctrl getitemtext row 1 if strtext 女 lpcustomdraw clrtextbk rgb 230 158 216 lpcustomdraw clrtext rgb 0 0 0 else lpcustomdraw clrtextbk rgb 128 209 241 lpcustomdraw clrtext rgb 0 0 0 presult cdrf_newfont break default presult cdrf_dodefault break return endif cwinapp_ cwinappの派生クラスcwinapp_の定義 class cwinapp_ public cwinapp public virtual bool initinstance bool cwinapp_ initinstance cframewnd_クラスを生成してm_pmainwindに格納 m_pmainwnd new cframewnd_ m_pmainwnd showwindow m_ncmdshow m_pmainwnd updatewindow return true cwinapp_ theapp ctestlistview h 新規追加 pragma once include class ctestlistview public clistctrl void insertmycolumn void insertmyitem public declare_message_map afx_msg int oncreate lpcreatestruct lpcreatestruct afx_msg void onsize uint ntype int cx int cy afx_msg void onnmcustomdraw nmhdr pnmhdr lresult presult ctestlistview cpp 新規追加 include ctestlistview h begin_message_map ctestlistview clistctrl on_wm_create on_wm_size on_notify_reflect nm_customdraw ctestlistview onnmcustomdraw end_message_map void ctestlistview insertmycolumn lv_column lvcol lvcol mask lvcf_fmt lvcf_width lvcf_text lvcf_subitem lvcol fmt lvcfmt_left lvcol cx 100 lvcol psztext lpstr 名前 lvcol isubitem 0 insertcolumn 0 lvcol lvcol cx 50 lvcol psztext lpstr 性別 lvcol isubitem 1 insertcolumn 1 lvcol lvcol cx 200 lvcol psztext lpstr 住所 lvcol isubitem 2 insertcolumn 2 lvcol return void ctestlistview insertmyitem lv_item item memset item 0 sizeof lv_item item mask lvif_text item psztext lpstr 鈴木 一郎 item iitem 0 item isubitem 0 insertitem item item psztext lpstr 男 item isubitem 1 setitem item item psztext lpstr 神奈川県鎌倉市 item isubitem 2 setitem item item psztext lpstr 杉山 双葉 item iitem 1 item isubitem 0 insertitem item item psztext lpstr 女 item isubitem 1 setitem item item psztext lpstr 兵庫県芦屋市 item isubitem 2 setitem item item psztext lpstr 太田 みく item iitem 2 item isubitem 0 insertitem item item psztext lpstr 女 item isubitem 1 setitem item item psztext lpstr 東京都江戸川区 item isubitem 2 setitem item return int ctestlistview oncreate lpcreatestruct lpcreatestruct if clistctrl oncreate lpcreatestruct 1 return 1 insertmycolumn insertmyitem return 0 void ctestlistview onsize uint ntype int cx int cy clistctrl onsize ntype cx cy rect rect getclientrect rect movewindow rect void ctestlistview onnmcustomdraw nmhdr pnmhdr lresult presult lpnmcustomdraw pnmcd reinterpret_cast pnmhdr lpnmlvcustomdraw lpcustomdraw null int row 0 int col 0 cstring strtext lpcustomdraw lpnmlvcustomdraw pnmhdr presult cdrf_dodefault 描画ステージ switch lpcustomdraw nmcd dwdrawstage case cdds_prepaint presult cdrf_notifyitemdraw break case cdds_itemprepaint row lpcustomdraw nmcd dwitemspec col lpcustomdraw isubitem 性別によって リストの背景色を変える strtext getitemtext row 1 if strtext 女 lpcustomdraw clrtextbk rgb 230 158 216 lpcustomdraw clrtext rgb 0 0 0 else lpcustomdraw clrtextbk rgb 128 209 241 lpcustomdraw clrtext rgb 0 0 0 presult cdrf_newfont break case cdds_subitem cdds_itemprepaint row lpcustomdraw nmcd dwitemspec col lpcustomdraw isubitem 性別によって リストの背景色を変える strtext getitemtext row 1 if strtext 女 lpcustomdraw clrtextbk rgb 230 158 216 lpcustomdraw clrtext rgb 0 0 0 else lpcustomdraw clrtextbk rgb 128 209 241 lpcustomdraw clrtext rgb 0 0 0 presult cdrf_newfont break default presult cdrf_dodefault break return e...
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)

Verified site has: 50 subpage(s). Do you want to verify them? Verify pages:

1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50


Pages verified in the last hours (randomly selected):


Top 50 hastags from of all verified websites.

Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

Header

HTTP/1.1 200 OK
Server openresty
Date Thu, 29 Oct 2026 07:18:48 GMT
Content-Type text/html;charset=utf-8
Content-Length 13062
Connection keep-alive
Set-Cookie bloguid=2bcc0d9b-4d92-4073-82aa-144cb3072995; expires=Fri, 29-Oct-2027 07:18:48 GMT; Max-Age=31536000; path=/; domain=.fc2.com
Set-Cookie cookietest=test; expires=Sun, 08-Nov-2026 07:18:48 GMT; Max-Age=864000; path=/
X-Cache-App-Html 1
Link <htt???/blog-imgs-115.fc2.com/m/i/b/mibc/css/32ae8.css>; rel=preload; as=style
Link <htt????/blog-imgs-140.fc2.com/m/i/b/mibc/CListCtrl_PopupMenu001.png>; rel=preload; as=image
Link <htt????/blog-imgs-140.fc2.com/m/i/b/mibc/CListCtrl_PopupMenu002.png>; rel=preload; as=image
Link <htt????/blog-imgs-140.fc2.com/m/i/b/mibc/CListCtrl_SubClass001.png>; rel=preload; as=image
Link <htt????/blog-imgs-140.fc2.com/m/i/b/mibc/MCUXpressoIDE_MOJI_002.png>; rel=preload; as=image
Link <htt????/blog-imgs-140.fc2.com/m/i/b/mibc/MCUXpressoIDE_MOJI_001.png>; rel=preload; as=image
Link <htt????/blog-imgs-140.fc2.com/m/i/b/mibc/MCUXpressoIDE_MOJI_003.png>; rel=preload; as=image
Vary User-Agent,Accept-Encoding
Content-Encoding gzip
X-Whom f2013
Reporting-Endpoints blog-front-csp-endpoint= htt????/admin.blog.fc2.com/csp-reports
Content-Security-Policy ; report-to blog-front-csp-endpoint

Meta Tags

title="MIBC"
name="google-site-verification" content="DIasRVHQUjQAIODcDDi6R5eAPKwkKzGcLP0EvMlziRQ"
http-equiv="Content-Type" content="text/html; charset=utf-8"
http-equiv="Content-Style-Type" content="text/css"
http-equiv="Content-Script-Type" content="text/javascript"
name="description" content="趣味で始めた電子工作・プログラミングのメモです"
name="author" content="MIBC"
name="keywords" content="ブログ, blog, FC2, エントリー, 日記"

Load Info

page size70814
load time (s)0.315509
redirect count0
speed download41466
server IP 199.48.210.116
* all occurrences of the string "http://" have been changed to "htt???/"