View Issue Details

IDProjectCategoryView StatusLast Update
0001324JEDI VCL00 JVCL Componentspublic2004-03-09 02:47
ReporteranonymousAssigned Touser72 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001324: TJvOpenDialog does not show places bar (Delphi 5/Windows XP)
DescriptionUnder Windows XP, TJvOpenDialog (JVCL 3) compiled with Delphi 5 does not show the places bar. The problem appears to be the test of IsWin2K in TJvOpenDialog.TaskModalDialog. It seems IsWin2K is true only on Windows 2000 systems (not on systems >= Windows 2000).
TagsNo tags attached.

Activities

user72

2004-02-12 14:57

  ~0002929

How about replacing IsWin2k with IsWIn2kOrAbove:

function IsWin2kOrAbove:boolean;
begin
  Result := (Win32Platform = VER_PLATFORM_WIN32_NT) and  (Win32MajorVersion >= 5);
end;



Would that work?

anonymous

2004-02-13 08:44

viewer   ~0002931

My thought when I looked at JclSysInfo, was that it should add a global variable of type TWindowsVersion. This could be initialized at the same time IsWin2k etc. are initialized. Then, such tests could be written:

  if WindowsVersion >= wvWin2000 then {...}

However, your IsWin2kOrAbove function would work as well.

user72

2004-02-13 14:00

  ~0002932

> My thought when I looked at JclSysInfo, was that it should add a global variable of type TWindowsVersion.
I guess you could suggest it to the JCL guys, but I'll go with the IsWin2kOrAbove for now.

Issue History

Date Modified Username Field Change
2004-02-12 10:36 anonymous New Issue
2004-02-12 14:57 user72 Note Added: 0002929
2004-02-12 14:57 user72 Status new => assigned
2004-02-12 14:57 user72 Assigned To => user72
2004-02-12 14:58 user72 Status assigned => feedback
2004-02-13 08:44 anonymous Note Added: 0002931
2004-02-13 14:00 user72 Status feedback => resolved
2004-02-13 14:00 user72 Resolution open => fixed
2004-02-13 14:00 user72 Note Added: 0002932
2004-03-09 02:47 user72 Status resolved => closed