掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
リストビューにアイテムを追加するには? (ID:67539)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
> これは逆ではないような気がします。 うん、ごめん。俺の勘違いです。 個人的に、整数やポインタに対して ! っていう書き方はしないので読み間違えました。 > どうやら SetItem 時には lvItem.mask にLVIF_PARAM を含ませては > ならないらしいことが分かりました。 俺は全然お役に立てませんでしたorz 参考までに、MSDNから引用。 > To set the text of a subitem, set the iItem and iSubItem members to indicate the specific subitem, and use the pszText member to specify the text. > Alternatively, you can use the ListView_SetItemText macro to set the text of a subitem. You cannot set the state or lParam members for subitems because subitems do not have these attributes. http://msdn2.microsoft.com/en-us/library/bb775091.aspx ばっちり書いてありました。
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.