Changeset 103 for trunk/Packages
- Timestamp:
- Sep 23, 2016, 10:59:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/UListViewSort.pas
r100 r103 9 9 uses 10 10 {$IFDEF Windows}Windows, CommCtrl, {$ENDIF}Classes, Graphics, ComCtrls, SysUtils, 11 Controls, DateUtils, Dialogs, SpecializedList, Forms, Grids, StdCtrls, ExtCtrls; 11 Controls, DateUtils, Dialogs, SpecializedList, Forms, Grids, StdCtrls, ExtCtrls, 12 LclIntf, LMessages, LclType, LResources; 12 13 13 14 type … … 47 48 procedure SetColumn(const Value: Integer); 48 49 procedure SetOrder(const Value: TSortOrder); 50 {$IFDEF WINDOWS} 49 51 procedure NewListViewWindowProc(var AMsg: TMessage); 52 {$ENDIF} 50 53 public 51 54 List: TListObject; … … 180 183 { TListViewSort } 181 184 185 {$IFDEF WINDOWS} 182 186 procedure TListViewSort.NewListViewWindowProc(var AMsg: TMessage); 183 187 var 184 188 vColWidth: Integer; 185 vMsgNotify: T WMNotify absolute AMsg;189 vMsgNotify: TLMNotify absolute AMsg; 186 190 Code: Integer; 187 191 begin … … 213 217 end; 214 218 end; 219 {$ENDIF} 215 220 216 221 procedure TListViewSort.DoColumnBeginResize(const AColIndex: Integer); … … 261 266 FListView.OnClick := ListViewClick; 262 267 FOldListViewWindowProc := FListView.WindowProc; 268 {$IFDEF WINDOWS} 263 269 FListView.WindowProc := NewListViewWindowProc; 270 {$ENDIF} 264 271 end; 265 272
Note:
See TracChangeset
for help on using the changeset viewer.