|
Export and import the HKCU/Software/Microsoft/DevStudio (or Visual Studio) registry key.
|
|
|
|
|
Thanks!!
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
Sender: megawatt
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Oops that went anonymous. I thought that changing name did not effect post counts.
|
|
|
|
|
Rama Krishna wrote:
Oops that went anonymous. I thought that changing name did not effect post counts.
Serves you right for trying to pick on Kilo's poor nick
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Nish - Native CPian wrote:
Serves you right for trying to pick on Kilo's poor nick
I have a poor nickname, or did you mean "poor kilo's nick", or both could be true
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
kilowatt wrote:
I am still looking at how to import all of the other general settings though.
Most of the other settings are stored in the registry.
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.0
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Thanks, I just wasn't sure where to look at first. It is all taken care of now.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
is there a standard way of doing this or does one just scramble the data in the usual ways and store that?
"... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away" sonork: 100.18128 8028finder.com
|
|
|
|
|
No standard that I'm aware of. We use a light encryption here (bit fiddling).
|
|
|
|
|
You gotta do the encrypting part yourself!
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
How do you give each entry into m_list1 a row number so that it'll appear in the list box? The reason for this is that m_list1.DeleteString would use the row number to delete specific entries.
-----------------------------------------------------
void CISGUIDlg::OnButton1()
{
UpdateData(); // Transfer data from controls to variables
m_strFullName = m_edit1 + " " + m_edit2;
m_list1.AddString(m_strFullName); //Add string to list
UpdateData(FALSE); // Transfer data from variables to controls
}
void CISGUIDlg::OnButton2()
{
UpdateData();
m_list1.DeleteString()
UpdateData(FALSE);
}
|
|
|
|
|
int iRow = 0; // global row counter
void CISGUIDlg::OnButton1()
{
UpdateData(); // Transfer data from controls to variables
iRow++;
m_strFullName.Format(%d %s %s",iRow,m_edit1,m_edit2;
m_list1.AddString(m_strFullName); //Add string to list
UpdateData(FALSE); // Transfer data from variables to controls
}
void CISGUIDlg::OnButton2()
{
UpdateData();
// When you delete a string, you must renumber all the rows beyond the deleted entry and decrement iRow.
m_list1.DeleteString()
UpdateData(FALSE);
}
|
|
|
|
|
Hey Guys
Im using a microsoft crypto API func and it has the ability to hand in a callback function to it. What i want to know is if i can get it to use my call back function and then after its run that get my function to go back to the micrsoft function rather then my callback. You see what i want to do is just get a pionter that is handed to the callback function i then want it to get on and do all the work.
Is this possible
Peter
|
|
|
|
|
No.
Christian
I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002
|
|
|
|
|
In the MSDN Library Help window, there is a results window displayed when the "search" tab is selected which I would like to emulate. The three buttons, "Title, "Location" and "Rank", seem to be part of that window. Does anyone know how this is done? Is it a custom class derived from CListBox? Any insight or a link to some sample code would be appreciated.
Kevin Torvik
|
|
|
|
|
Kevin Torvik wrote:
Is it a custom class derived from CListBox?
It's a listview control in report mode. If you're using MFC, check CListCtrl.
Tomasz Sowinski -- http://www.shooltz.com
- It's for protection - Protection from what? Zee Germans?
|
|
|
|
|
I have an MDI MFC application and in some sitations I don't want the user to be able to switch between documents. It sounds easy but I have not not been able figure it out.
Any help will be appreciated
|
|
|
|
|
Perhaps you can save the identity of the current document in some kind of global along with a switch indicating whether the user can switch or not. In the OnActivate for the view, check to see if the document being activated is the right one, if not, re-active the correct one.
You might be able to do something more sophisitcated with PreTranslateMessage to suppress the activation altogether.
|
|
|
|
|
you could look for the document you want on top losing focus (there is an event for this) and force it back to the top of the z-order
just a guess
"... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away" sonork: 100.18128 8028finder.com
|
|
|
|
|
How about just looping through all of the views & hiding the ones that belong to the non-active documents? Worth a try maybe...
--------
You can change the extention so it reads ASP even though it is PHP which is kind of cool. - Martin Marvinski --Shog9 --
|
|
|
|
|
Thanks guys, all nice suggestions
Will try
|
|
|
|
|
why would this dialog never make it threw the if-else. I watch it and it starts from the top each time and will never go away.
void CAMID::OnSetfocusVelocityKt()
{
CNumEntry dlg;
if(dlg.DoModal() == IDOK2)
{
}
else
{
return;
}
}
|
|
|
|
|
jimNLX wrote:
if(dlg.DoModal() == IDOK2)
Maybe it's this ....
are you sure the ok button has the IDOK2 id, or IDOK ???
Max.
|
|
|
|
|
doubled checked it - its IDOK2
|
|
|
|