Vault 3.5.2.5087 and VS2005 Class View

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Vault 3.5.2.5087 and VS2005 Class View

Post by BigBrett » Thu May 10, 2007 7:28 am

I am having a problem using Class View and the Properties window to add new message handlers in a C++ project.

For example, I want to add a handler for WM_MDIACTIVATE to the CMainFrame class. The .cpp and .h files are both checked out as I have been working on them.

Firstly, on occasion, after clicking on the class name in the top part of the Class View window, there is a lot of activity refreshing the bottom part of that window with the status bar prompt continually changing between "Ready" and "Updating source control". This can take a few minutes but, once completed, it doesn't seem to happen again.

Secondly, with the relevant class selected in the top part of Class View I now go the Properties window, find the message I want to add a handler for (for example WM_MDIACTIVATE) and select the option from the drop-down "<Add> OnMDIActivate". VS2005 then displays the message "Add/Remove operation is impossible, because the code element 'CMainFrame' is read only".

That is patently impossible as I have manually checked out the .cpp and .h files previously. In Class View, in the Solution and on the tabs on the IDE window everything is shown as being checked out. I can even close the solution then reopen it and the same problem occurs.

If only the .cpp is currently checked out I will be requested to checkout the .h file. However the problem still remains.

I have tried resetting the local cache in case that had anything to do with it but no luck.

Hope you can help as it is irritating (and probably error prone) to have to add handlers manually.

Regards,
Brett

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu May 10, 2007 4:07 pm

I need to check with our IDE specialist on this one. I'll post back.
Linda Bauer
SourceGear
Technical Support Manager

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Post by BigBrett » Fri May 18, 2007 12:51 am

Anything further on this problem ?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri May 18, 2007 1:48 pm

We're still working on reproducing this.
Linda Bauer
SourceGear
Technical Support Manager

Locked