Hello. I have a problem installing VS 2013 express. The problem is that the installation does not take place. It shows me just a small black rectangle on the screen and it stays like that. I have Win 7, SP1, all updates installed. What is the problem? Does anybody know, please?
dliviu
Posts
-
Problem installing VS 2013 -
Multiple selection on Tree ControlI cannot attach the two projects here. I don't see any attach button. Can I send you on a private mail the two projects and have a quick look, please?
-
Multiple selection on Tree ControlThe code I'm refering to is from here: http://www.codeguru.com/cpp/controls/treeview/misc-advanced/article.php/c723/Allowing-multiple-selection.htm[^] There's not much to elaborate. I just took this code, all these functions, and put them in my CTreeCtrlXML class which is derived from CTreeCtrl. And I have the problem I wrote above. I have the same exact problem by using the Syed Babu code from here: MultiSelection Tree Control[^]
-
Multiple selection on Tree ControlI tried the code from the second link. It behaves the same as the code from Syed Babu from codeproject. If I select multiple items using Ctrl and left mouse button it selects JUST THE LAST 2 previously selected items; the first item selected in a row of three is always deselected. I don't get it, I have the same code as the original code. There's something strange here.
-
Multiple selection on Tree ControlThanks for your reply and for the provided links.
-
Multiple selection on Tree ControlI downloaded a project from codeproject that makes multiple selection posibible on a CTreeCtrl. The link is: [^] The downloaded project works fine, I mean it works to select multiple lines with the Ctrl key. I created a project on my own, taking from the downloaded project just CCustomTreeCtrl files, because I need just CCustomTreeCtrl. So, my problem is that it does not work to select multiple lines in the tree control in my project, but in the downloaded project it does. How can this be? I cannot figure it out. I checked and double checked to see if there's any notable difference, and I can't see any.
-
CTreeCtrl::GetNextSiblingItem never nullThanks for your answer! I know it works, because I tried another similar tree myself. But I really do not know why it does not work in a particular case. What I am trying to do is to copy a CTreeCtrl from Dialog1 to Dialog2. So I do something like Dialog1::_tree1.GetNextSiblingItem(ci) and then put ci in _tree2 which is in Dialog2, like this _tree2.InsertItem(csChild,NULL, NULL), where csChild = Dialog1::_tree1.GetItemText(ci). So it may be that this cross dialog thing is the problem.
-
CTreeCtrl::GetNextSiblingItem never nullOK, thanks.
-
CTreeCtrl::GetNextSiblingItem never nullHello! I just want to pass through all the siblings of a parent CTreeCtrl node. So I do something like the code from msdn http://msdn.microsoft.com/en-us/library/xfh3f9zt.aspx[^]:
if (m_TreeCtrl.ItemHasChildren(hmyItem))
{
HTREEITEM hItem = m_TreeCtrl.GetChildItem(hmyItem);while (hItem != NULL)
{
hItem = m_TreeCtrl.GetNextSiblingItem(hItem);
}
}The problem is that, GetNextSiblingItem never returns null. When all the siblings are passed through and the function should return null, it just returns the first sibling. So it enters into an infinite loop. I just cannot understand why it does so.
-
How to find out if a file is loaded in memory?Okay, I will do that. Thanks.
-
How to find out if a file is loaded in memory?Are you sure of this? In what operating system? I have Win XP and I can tell you for sure that this is not happening because when I open a second app it takes as much time as the first one for all the files and dlls to load. Maybe in higher operating systems all apps point to the same adress in memory but not in XP.
-
How to find out if a file is loaded in memory?You say there are ways to make this files load faster? I guarantee you that in this case there are no ways. Loading has already been optimized to the max.
-
How to find out if a file is loaded in memory?No, there aren't.
-
How to find out if a file is loaded in memory?It will matter because it takes 15 seconds for the app to start.
-
How to find out if a file is loaded in memory?Well yes, it is a XY problem. :) When I'm opening a txt file from an application which I made I want to open another instance of this application with the file opened in it. So I don't want to load all the dlls and bins again, but just point to them in the memory (because the files were already loaded by the application which was first opened). I want to do this because I cannot make the application a MSDI one, because it's to hard to do for me.
-
How to find out if a file is loaded in memory?Ok,thanks!
-
How to find out if a file is loaded in memory?Hello! Let's say I load a "data.bin" file in dinamic memory using a program. Now, can I by means of C++ code, find out using another program, if a file called "data.bin" is loaded in memory? Thanks!
-
Open A File Just Like MS Word DoesI'm using MFC. Thanks for the suggestion.
-
Open A File Just Like MS Word DoesThank you very much!
-
Open A File Just Like MS Word DoesHello! I'm working on an application similar to MS Word, but on a much smaller scale. My problem is that I do not know how to open a file just like Word does. Word does something like this: if you are already in Word and you opened a file already and then you open another one from the file menu, than a new application appears with this file opened, just like the first file. But this application does not open a new WINWORD.EXE app. No matter how many files you open there's still just one WINWORD.EXE. So, I want to do exactly like this in my application, but I don't know how! If Word does not open a new app with the opening of a new file, this means that somehow the new interface opened with the file is linked with the initial dlls or with the files that have been loaded in memory. I don't have a clue how to do that. I'm working in C++, Visual Studio 2005, MFC. Anybody has any idea? Thanks!