View Issue Details

IDProjectCategoryView StatusLast Update
0004865JEDI VCL04 Feature Requestpublic2009-10-03 18:32
ReportersnwAssigned ToAHUser 
Status resolvedResolutionfixed 
Product Version3.37 
Target VersionFixed in Version3.39 
Summary0004865: JvDriveCtrls.pas : add OnDrawEvent
Descriptionattached code:
1)adds OnDrawItem event
2)makes public Images field to be used with OnDrawItem
3)makes public Items field to be used with OnDrawItem

it is not in the code, but you may consider also adding a new event 'OnDriveChange' which would occur each time when WM_DEVICECHANGE is received.
at the moment i had to add own hook to detect this changes.

this could be here:
function TJvDriveList.DriveChangeMessage(var Msg: TMessage): Boolean;
  Result := False;
  if Msg.Msg = WM_DEVICECHANGE then
    if ((TWMDeviceChange(Msg).Event = DBT_DEVICEARRIVAL) or
      (TWMDeviceChange(Msg).Event = DBT_DEVICEREMOVECOMPLETE)) and
      (PDevBroadcastVolume(TWMDeviceChange(Msg).dwData)^.dbcv_devicetype = DBT_DEVTYP_VOLUME) then
      if Assigned(FOnDriveChange) then
Additional Informationuploading
1) JvDriveCtrls.pas - oryginal 3.37 file
2) JvDriveCtrlsNew.pas - modified 3.37 file
3) JvDriveCtrls.pas.diff - WinMerge diff file
TagsNo tags attached.


2009-07-15 13:12


attach.rar (20,008 bytes)


2009-10-03 18:32

developer   ~0016236

Added to SVN.

Issue History

Date Modified Username Field Change
2009-07-15 13:12 snw New Issue
2009-07-15 13:12 snw File Added: attach.rar
2009-07-21 11:16 obones Status new => acknowledged
2009-10-03 18:32 AHUser Note Added: 0016236
2009-10-03 18:32 AHUser Status acknowledged => resolved
2009-10-03 18:32 AHUser Fixed in Version => Daily / SVN
2009-10-03 18:32 AHUser Resolution open => fixed
2009-10-03 18:32 AHUser Assigned To => AHUser