Click here to Skip to main content
15,891,621 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to call Mircosoft Word from with a program with the ".doc" name being loaded already Pin
KellyR13-Jan-06 14:45
KellyR13-Jan-06 14:45 
AnswerRe: How to call Mircosoft Word from with a program with the ".doc" name being loaded already Pin
FarPointer14-Jan-06 0:04
FarPointer14-Jan-06 0:04 
QuestionHow to send a shortcut from a program to the desktop Pin
Larry Mills Sr13-Jan-06 14:26
Larry Mills Sr13-Jan-06 14:26 
AnswerRe: How to send a shortcut from a program to the desktop Pin
KellyR13-Jan-06 14:51
KellyR13-Jan-06 14:51 
QuestionAccessing MFC classes in VB Pin
mohanrajh13-Jan-06 14:14
mohanrajh13-Jan-06 14:14 
AnswerRe: Accessing MFC classes in VB Pin
includeh1013-Jan-06 18:02
includeh1013-Jan-06 18:02 
GeneralRe: Accessing MFC classes in VB Pin
mohanrajh14-Jan-06 0:13
mohanrajh14-Jan-06 0:13 
QuestionVS2005 Dialog Editor -> Add Variable - Control Id field is blank Pin
Yak7713-Jan-06 12:47
Yak7713-Jan-06 12:47 
I am extremely fed up with the resource editor in VS2005. Not only does it regularly crash VS2005 (usually when adding a new dialog), I am now having problems adding a variable from the dialog editor to an associated class.

My Setup in my solution:

- I have a resource only dll that contains only the resources and not the code behind it. In other words it basically only has Resource.rc file and Resource.h file.

- Another project (a library) contains the source code associated with the dialogs and property pages in the Resource.rc file.

- The way I associated the Resources with the code was by adding the Resource.rc file into the other project (the library) and then excluding it from the build.

This seemed to work at first. When I go to add an event handler for say a button, the handler gets added just fine into the correct .cpp and .h file that corresponds to the dialog that contains the button.

The issue I am having is, when I right click on the same button and select "Add Variable", the "Control Id" field is blank and disabled. The Control Id of the button is supposed to be filled in. Why is this happening? If it can add a handler properly, why can't it add a variable?

Also, is there a better way of associating the resources with the code when the resources are contained in a resource only dll and the code in a separate project?



Please Help. This has been frustrating me ever since we upgraded VS 6.0 to VS 2005.

Thanks in advance.

QuestionQuestion when writing an Assert function Pin
Nacho Chip13-Jan-06 12:30
Nacho Chip13-Jan-06 12:30 
AnswerRe: Question when writing an Assert function Pin
Stephen Hewitt13-Jan-06 18:58
Stephen Hewitt13-Jan-06 18:58 
AnswerRe: Question when writing an Assert function Pin
Gary R. Wheeler15-Jan-06 5:24
Gary R. Wheeler15-Jan-06 5:24 
GeneralRe: Question when writing an Assert function Pin
Harold Bamford16-Jan-06 11:52
Harold Bamford16-Jan-06 11:52 
GeneralRe: Question when writing an Assert function Pin
Gary R. Wheeler17-Jan-06 16:13
Gary R. Wheeler17-Jan-06 16:13 
GeneralRe: Question when writing an Assert function Pin
Harold Bamford19-Jan-06 4:40
Harold Bamford19-Jan-06 4:40 
QuestionLAN API Pin
Allad13-Jan-06 11:52
Allad13-Jan-06 11:52 
AnswerRe: LAN API Pin
zubair_ahmed13-Jan-06 19:46
zubair_ahmed13-Jan-06 19:46 
GeneralRe: LAN API Pin
ThatsAlok15-Jan-06 19:12
ThatsAlok15-Jan-06 19:12 
AnswerRe: LAN API Pin
ThatsAlok15-Jan-06 19:10
ThatsAlok15-Jan-06 19:10 
QuestionHow to call CView::OnUpdate Pin
elephantstar13-Jan-06 8:10
elephantstar13-Jan-06 8:10 
AnswerRe: How to call CView::OnUpdate Pin
John M. Drescher13-Jan-06 11:30
John M. Drescher13-Jan-06 11:30 
AnswerRe: How to call CView::OnUpdate Pin
FarPointer13-Jan-06 23:51
FarPointer13-Jan-06 23:51 
QuestionCComboBox GetItemDataPtr ( problem found ) Pin
Maximilien13-Jan-06 5:35
Maximilien13-Jan-06 5:35 
QuestionCOleVariant Empty bstrval Pin
TWS_Dave13-Jan-06 5:34
TWS_Dave13-Jan-06 5:34 
AnswerRe: COleVariant Empty bstrval Pin
James R. Twine13-Jan-06 6:58
James R. Twine13-Jan-06 6:58 
AnswerRe: COleVariant Empty bstrval Pin
Stephen Hewitt14-Jan-06 2:22
Stephen Hewitt14-Jan-06 2:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.