Minor Bug Report: MSSCCI-API - SccDiff ignores hWnd

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
PhilS
Posts: 24
Joined: Wed Sep 16, 2015 12:23 pm
Location: Germany
Contact:

Minor Bug Report: MSSCCI-API - SccDiff ignores hWnd

Post by PhilS » Mon May 31, 2021 6:54 am

Hi Guys!

Here's a minor bug report observed with Vault 9.1.0:
We use the MSSCCI-API to connect to Vault.
When SccDiff is called, the hWnd argument passed to the function appears to be ignored. Instead the Vault client uses the hWnd argument that was passed to SccInitialize previously as owner/parent for the dialog.
This is slightly annoying because in an IDE with multiple top-level windows Vault may bring the wrong window to the front of the Z-Order when SccDiff is called and the "Show Difference" dialog is shown. The user is then unable to see the window where he invoked the Diff command. The nuisance is aggravated by the fact that the "Show Difference" dialog does not itself display the file name for which the Diff command was invoked.

Can you please:
a) Fix the bug by honoring the hWnd argument passed to the SccDiff function, and
b) Show the file name in "Show Difference" dialog?

Thank you & best regards,
Philipp

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: Minor Bug Report: MSSCCI-API - SccDiff ignores hWnd

Post by jclausius » Tue Jun 01, 2021 7:17 am

Hi Philipp,

I've logged this issue to be researched and addressed in Vault 11.
Jeff Clausius
SourceGear

Post Reply