Click here to Skip to main content
15,943,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to draw a chinese text on a window Pin
Tianan8-Nov-08 13:01
Tianan8-Nov-08 13:01 
GeneralRe: How to draw a chinese text on a window Pin
Hamid_RT8-Nov-08 20:52
Hamid_RT8-Nov-08 20:52 
AnswerRe: How to draw a chinese text on a window Pin
Iain Clarke, Warrior Programmer8-Nov-08 13:10
Iain Clarke, Warrior Programmer8-Nov-08 13:10 
GeneralRe: How to draw a chinese text on a window Pin
Tianan8-Nov-08 16:27
Tianan8-Nov-08 16:27 
QuestionChecking for a registered DLL Pin
kpiciulo7-Nov-08 9:57
kpiciulo7-Nov-08 9:57 
AnswerRe: Checking for a registered DLL Pin
CPallini7-Nov-08 10:42
mveCPallini7-Nov-08 10:42 
QuestionStrange Behaviour on LookupPrivilegeValue Pin
bsaksida7-Nov-08 8:42
bsaksida7-Nov-08 8:42 
QuestionVisual C++ 2003 MDI file associations fail out of the box [solved] Pin
bob169727-Nov-08 4:49
bob169727-Nov-08 4:49 
When creating Doc/View MDI apps to have a file extension using the wizard, Visual C++ 6.0 and 2008 apps reuse the existing application when double clicking on multiple data files with the apps associated file association. The results appear the same for both "%1" and "/dde" appended to the end of the "command" key in the registry file association entry for the "open" verb for that file type.

However, the same type of app created using Visual C++ 2003 does not always behave "correctly" (assumes double clicking a document should open in the applcation instance or in a new instance if the applcation wasn't already running)

When the registry entry for the open verb contains the following text in the "command" keys default text...
"%1" works when double clicking document without app running. Fails with app running.
"/dde" does not open document when double clicking without app running (I get an instance of the app in task manager but I can't interact with the app on the desktop). Fails with app running.

Does anyone know what the trick is to get the file verbs and/or dde commands working with a Visual C++ 2003 Doc/View MDI application?

***************************************
Update:
It turns out I didn't have Visual Studio 2003, Service Pack 1 installed on this box I'm compiling with. This issue was specifically addressed as the OnDDEExecute() not getting handled correctly.

Stupid me. D'Oh! | :doh:

modified on Friday, November 7, 2008 2:14 PM

QuestionDisable a Button ina SDI application Pin
m_mun7-Nov-08 2:50
m_mun7-Nov-08 2:50 
AnswerRe: Disable a Button ina SDI application Pin
Nishad S7-Nov-08 2:53
Nishad S7-Nov-08 2:53 
AnswerRe: Disable a Button ina SDI application Pin
Saurabh.Garg7-Nov-08 2:55
Saurabh.Garg7-Nov-08 2:55 
AnswerRe: Disable a Button ina SDI application Pin
Hamid_RT7-Nov-08 20:26
Hamid_RT7-Nov-08 20:26 
QuestionHow to get a string according to a "language identifier"? [modified] Pin
Joseph Marzbani7-Nov-08 1:08
Joseph Marzbani7-Nov-08 1:08 
AnswerRe: How to get a string according to a "language identifier"? Pin
CPallini7-Nov-08 1:54
mveCPallini7-Nov-08 1:54 
GeneralRe: How to get a string according to a "language identifier"? Pin
Joseph Marzbani7-Nov-08 4:19
Joseph Marzbani7-Nov-08 4:19 
Questionhow to show enable/disable check mark for menu items in a dialog based application? Pin
puppya7-Nov-08 0:51
puppya7-Nov-08 0:51 
AnswerRe: how to show enable/disable check mark for menu items in a dialog based application? Pin
Saurabh.Garg7-Nov-08 3:01
Saurabh.Garg7-Nov-08 3:01 
AnswerRe: how to show enable/disable check mark for menu items in a dialog based application? Pin
Mark Salsbery7-Nov-08 3:11
Mark Salsbery7-Nov-08 3:11 
GeneralRe: how to show enable/disable check mark for menu items in a dialog based application? Pin
Nishad S7-Nov-08 3:21
Nishad S7-Nov-08 3:21 
GeneralRe: how to show enable/disable check mark for menu items in a dialog based application? Pin
Mark Salsbery7-Nov-08 3:29
Mark Salsbery7-Nov-08 3:29 
GeneralRe: how to show enable/disable check mark for menu items in a dialog based application? Pin
Nishad S7-Nov-08 3:35
Nishad S7-Nov-08 3:35 
QuestionHow can i pop up a new view in a SDI application Pin
m_mun7-Nov-08 0:20
m_mun7-Nov-08 0:20 
QuestionINTERNAL COMPILER ERROR Pin
Shino C G7-Nov-08 0:14
Shino C G7-Nov-08 0:14 
QuestionRe: INTERNAL COMPILER ERROR Pin
David Crow7-Nov-08 2:42
David Crow7-Nov-08 2:42 
AnswerRe: INTERNAL COMPILER ERROR Pin
Shino C G7-Nov-08 3:16
Shino C G7-Nov-08 3:16 

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.