掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
TListViewのカラム変更時に発生するイベントは? (ID:19600)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
西野さん。ありがとうございますm(__)m ちょっと悪戦苦闘しましたが、教えて頂いたサイトを参考に以下のソースで実現できました。 constructor TListViewEx.Create(AOwner: TComponent); begin //** 他の処理(省略) **// // コントロールの再描画の際に出る「ちらつき」を防止する Self.DoubleBuffered := True; end; procedure TListViewEx.WMNotify(var Message: TWMNotify); begin with TWMNotify(message) do begin if (Msg = WM_NOTIFY) and (NMHdr^.code = HDN_ITEMCHANGEDW) then begin // 再描画 Self.Refresh; end; end; inherited; end;
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.