Click here to Skip to main content
15,889,867 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Browse CD option Pin
Peter Molnar20-Nov-03 13:52
Peter Molnar20-Nov-03 13:52 
GeneralAfxSetResourceHandle() - I failed to load the default resources of the application. Pin
julych20-Nov-03 3:45
julych20-Nov-03 3:45 
GeneralRe: AfxSetResourceHandle() - I failed to load the default resources of the application. Pin
Antti Keskinen20-Nov-03 9:50
Antti Keskinen20-Nov-03 9:50 
GeneralRe: AfxSetResourceHandle() - I failed to load the default resources of the application. Pin
julych20-Nov-03 10:27
julych20-Nov-03 10:27 
GeneralCMenu question Pin
Niko Tanghe20-Nov-03 2:10
Niko Tanghe20-Nov-03 2:10 
GeneralRe: CMenu question Pin
KingsGambit20-Nov-03 2:51
KingsGambit20-Nov-03 2:51 
GeneralRe: CMenu question Pin
Niko Tanghe20-Nov-03 3:19
Niko Tanghe20-Nov-03 3:19 
GeneralRe: CMenu question Pin
Roger Allen20-Nov-03 5:39
Roger Allen20-Nov-03 5:39 
You need to access it through the relevant CDocTemplate object registered in InitInstance.

If your doing this in a document object, you can use GetDocTemplate()->m_hMenuShared. If you need to access it from elsewhere, you need to use the undocument class CDocManager through the CWinApp:m_pDocMan(ager) pointer. Use the GetFirstDcoTemplatePosition() and GetNExtDocTemplate() iterator functions.


Roger Allen - Sonork 100.10016
If your dead and reading this, then you have no life!
GeneralData type HANDLE Pin
Anonymous20-Nov-03 1:57
Anonymous20-Nov-03 1:57 
GeneralRe: Data type HANDLE Pin
Simon.W20-Nov-03 2:05
Simon.W20-Nov-03 2:05 
GeneralRe: Data type HANDLE Pin
Toco20-Nov-03 3:06
Toco20-Nov-03 3:06 
GeneralRe: Data type HANDLE Pin
Anonymous20-Nov-03 4:06
Anonymous20-Nov-03 4:06 
GeneralRe: Data type HANDLE Pin
Maximilien20-Nov-03 4:31
Maximilien20-Nov-03 4:31 
GeneralRe: Data type HANDLE Pin
Graham Bradshaw20-Nov-03 4:44
Graham Bradshaw20-Nov-03 4:44 
GeneralRe: Data type HANDLE Pin
Toco21-Nov-03 1:18
Toco21-Nov-03 1:18 
GeneralRe: Data type HANDLE Pin
JWood20-Nov-03 5:46
JWood20-Nov-03 5:46 
GeneralLoad strings from a Xml file Pin
FreeGeG20-Nov-03 1:49
FreeGeG20-Nov-03 1:49 
GeneralRe: Load strings from a Xml file Pin
Ravi Bhavnani20-Nov-03 2:10
professionalRavi Bhavnani20-Nov-03 2:10 
GeneralRe: Load strings from a Xml file Pin
jhwurmbach20-Nov-03 2:18
jhwurmbach20-Nov-03 2:18 
GeneralInvalid Cache depth Pin
BadJerry20-Nov-03 1:39
BadJerry20-Nov-03 1:39 
GeneralRe: Invalid Cache depth Pin
Adam Gritt20-Nov-03 3:15
Adam Gritt20-Nov-03 3:15 
GeneralRe: Invalid Cache depth Pin
BadJerry20-Nov-03 3:23
BadJerry20-Nov-03 3:23 
GeneralRe: Invalid Cache depth Pin
BadJerry20-Nov-03 4:39
BadJerry20-Nov-03 4:39 
Questionprint the CString data to printer? Pin
murali_utr20-Nov-03 0:52
murali_utr20-Nov-03 0:52 
AnswerRe: print the CString data to printer? Pin
Simon.W20-Nov-03 2:08
Simon.W20-Nov-03 2:08 

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.