Click here to Skip to main content
16,007,843 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: programm crashes wenn retrieving a CString Pin
Willem B13-Apr-03 23:16
Willem B13-Apr-03 23:16 
GeneralRe: programm crashes wenn retrieving a CString Pin
Willem B13-Apr-03 23:19
Willem B13-Apr-03 23:19 
GeneralRe: programm crashes wenn retrieving a CString Pin
Iain Clarke, Warrior Programmer13-Apr-03 23:07
Iain Clarke, Warrior Programmer13-Apr-03 23:07 
GeneralMy app. under Win98? Problem with DLL's Pin
whofmans13-Apr-03 20:40
whofmans13-Apr-03 20:40 
GeneralRe: My app. under Win98? Problem with DLL's Pin
Tal Rasha's Guardianship13-Apr-03 20:46
Tal Rasha's Guardianship13-Apr-03 20:46 
GeneralRe: My app. under Win98? Problem with DLL's Pin
whofmans13-Apr-03 21:13
whofmans13-Apr-03 21:13 
QuestionHow can I modify the menus in a multi-doc application Pin
Tal Rasha's Guardianship13-Apr-03 20:35
Tal Rasha's Guardianship13-Apr-03 20:35 
AnswerRe: How can I modify the menus in a multi-doc application Pin
Roger Allen14-Apr-03 1:46
Roger Allen14-Apr-03 1:46 
If you have access to the CDocTemplate objects that were registered in InitInstance you can get it like this:

pTemplate->m_hMenuShared

You can get a specific doc template by iterating the CDocManager object:

CDocManger = *pDocMan = AfxGetApp()->m_pDocManager;
POSITION pos = pDocMan->GetFirstDocTemplatePosition();
while (pos)
{
CDocTemplate *pTemplate = pDocMan->GetNextDocTemplate(pos);
// make use of the pTemplate here.
}

Roger Allen
Sonork 100.10016

Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003
QuestionCan I design a webserivce with c#,now I want use it with c++ and webservice have session state Pin
wxdwxd13-Apr-03 19:15
wxdwxd13-Apr-03 19:15 
GeneralUpdating CListCtrl using Modal CDialog Pin
Bonnie213-Apr-03 18:06
Bonnie213-Apr-03 18:06 
GeneralRe: Updating CListCtrl using Modal CDialog Pin
Ravi Bhavnani13-Apr-03 18:25
professionalRavi Bhavnani13-Apr-03 18:25 
GeneralConvert a char* to a variant_t Pin
Paul Farry13-Apr-03 17:10
professionalPaul Farry13-Apr-03 17:10 
GeneralRe: Convert a char* to a variant_t Pin
Brian Shifrin13-Apr-03 17:46
Brian Shifrin13-Apr-03 17:46 
GeneralRe: Convert a char* to a variant_t Pin
Paul Farry13-Apr-03 19:25
professionalPaul Farry13-Apr-03 19:25 
Generaltemplate (ANSI compliance) question Pin
Anonymous13-Apr-03 15:18
Anonymous13-Apr-03 15:18 
GeneralRe: template (ANSI compliance) question Pin
Dave Bryant13-Apr-03 17:28
Dave Bryant13-Apr-03 17:28 
GeneralRe: template (ANSI compliance) question Pin
Joaquín M López Muñoz13-Apr-03 20:46
Joaquín M López Muñoz13-Apr-03 20:46 
Generalocx Pin
Shotgun13-Apr-03 11:35
Shotgun13-Apr-03 11:35 
GeneralIE Toolbar Problem Pin
DuFF13-Apr-03 10:41
DuFF13-Apr-03 10:41 
GeneralRe: IE Toolbar Problem Pin
xxhimanshu13-Apr-03 20:28
xxhimanshu13-Apr-03 20:28 
Generalsubclass a button fail :( Pin
_skidrow_vn_13-Apr-03 9:52
_skidrow_vn_13-Apr-03 9:52 
GeneralRe: subclass a button fail :( Pin
PJ Arends13-Apr-03 10:14
professionalPJ Arends13-Apr-03 10:14 
GeneralRe: subclass a button fail :( Pin
_skidrow_vn_13-Apr-03 10:38
_skidrow_vn_13-Apr-03 10:38 
GeneralCString and std::string Pin
tomc13-Apr-03 8:50
tomc13-Apr-03 8:50 
GeneralRe: CString and std::string Pin
Chris Losinger13-Apr-03 9:18
professionalChris Losinger13-Apr-03 9:18 

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.