Using vs.net ide for last 10+ months. But I still missing my shortcuts over here which is replaced with diffrent ones. Like ctrl+shift+g opens the include file etc etc. And also faced some problems at the begining to add oninitdialog() to my dialog class .
Applications that are complex and large enough to warrant diistribution on media are developed in NET.
Applications that are intended to be distributed by download are developed in VS6 to keep the download size smalller.
Someday in the future when most people are using an OS that installs the Net Framework already I will use NET exclusively. In the meantime, I don't want to require people who are downloading a small software application to possibly also have to download a 25MB framework file just to get the application to run.
Well, win98 has been around for more than 7 seven years, and a lot of people still use it. Newer versions of XP and Win2003 are the only ones that install the fraemework as standard procedure. VS6 is still very much alive and kicking. Who knows? Years if at all is my guess...
It's probably not really important from a practical perspective if or when the actual platform, for example NET, replaces VS6.
Rather, the meaningful question is at what point in time does any particular skill become widely obsolete or widely required in the job market?
C++ is in general is by no means obsolete the US, but NET has already replaced VS6 in becoming the latest must-have essential skill in much of the job market.
So in the important sense, NET has or soon will "replace" VS6 because employer demand for NET skills have either already surpassed, or soon will surpass VS6 skills in terms of a developer's marketibility.
I could not comment on that status in China.
At what point in time do you think most software companies in China will have managed to acquire bootlegged illigitemate copies of VS.NET? That is the time when VS6 skillsets will need to be replaced by VS.NET skillsets.
I tried that. If I store the return value in a CString object the object has the data. If i am not concatenating, the window does not show it. I used another solution, i created another static field. I think it might have been that the pixel width given to the control was not large enough to show the full string.
I made a dialog that has 2 sets of a radio button and combo box. When one radio button is set, it disables the other combo box (and enables it's own combo box) and vice versa. I can't seem to find an example where that can be done in the articles. I also want to return the results of the dialog to the calling function. I know it has to do with the DoDataExchange function. I've read though examples but they just say "do this and do that" but they don't tell me how to get it working with my own program. If I can get a set of steps to get it working, I can try and figure it out, I just need some breadcrumbs.
Any help would be greatly appreciated because the data exchanging thing is a very important part of MFC, thanks in advance.
One method is to create the radio button variables as controls not ints, and create event handlers that enable and disable controls when the respective button has been clicked. Then the OnOK can be overridden. This part is dangerous. I would recommend instead, creating a public variable that stores the radio button state, and then after the DoModal() function returns IDOK pull the value from the variable. Let me know if you would like more detail.
I understand that but I would like more on your recommendation. From what I read, you are supposed to create an integer public variable for only the first radio button and that will indicate which other radio button is selected. Beyond that, it's each variable for itself, at least the controls I'm using.
Mickael Dunn'advice is good.but I think there must be a method to do it by using member's function of menu class in MFC.you can refer to Microsoft Internet Explorer, bitmap lies of left of the items in "favourite"