Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Rename VC++ project name Pin
Cedric Moonen9-Dec-04 0:58
Cedric Moonen9-Dec-04 0:58 
GeneralRe: Rename VC++ project name Pin
erkanina14-Dec-04 2:33
erkanina14-Dec-04 2:33 
GeneralAbout CDialogBar Pin
pdtrung8-Dec-04 23:16
pdtrung8-Dec-04 23:16 
GeneralOLE problem with drag and drop Pin
jmostei8-Dec-04 23:02
jmostei8-Dec-04 23:02 
GeneralRe: OLE problem with drag and drop Pin
jmostei9-Dec-04 4:26
jmostei9-Dec-04 4:26 
GeneralRe: OLE problem with drag and drop Pin
jmostei9-Dec-04 4:26
jmostei9-Dec-04 4:26 
GeneralGetting document pointer Pin
Developer1018-Dec-04 22:58
Developer1018-Dec-04 22:58 
GeneralRe: Getting document pointer Pin
jmostei8-Dec-04 23:10
jmostei8-Dec-04 23:10 
yes, i supose that you have defined the message handler of this menu item in the view class. I supose too that you call de DoModal() function of the dialog class in this message handler. Therefore your´s dialog parent window is the view window. If you call the dialogs method:

CWnd * GetParentWnd() and cast teh result to a (CDXtoXDView *). Just doing this: (CDXtoXDView *)GetParentWnd(), then you have a pointer to the view object. You just have to call GetDocument() view´s method to obtain the document pointer. This should work.;)

GeneralRe: Getting document pointer Pin
Developer1019-Dec-04 8:43
Developer1019-Dec-04 8:43 
GeneralRe: Getting document pointer Pin
jmostei9-Dec-04 21:53
jmostei9-Dec-04 21:53 
GeneralRe: Getting document pointer Pin
Developer10110-Dec-04 20:13
Developer10110-Dec-04 20:13 
GeneralRe: Getting document pointer Pin
David Crow9-Dec-04 2:38
David Crow9-Dec-04 2:38 
Questionwhat are the best CButton derived classes ? Pin
Thomas Haller8-Dec-04 22:53
Thomas Haller8-Dec-04 22:53 
AnswerRe: what are the best CButton derived classes ? Pin
Maximilien9-Dec-04 2:27
Maximilien9-Dec-04 2:27 
GeneralRe: what are the best CButton derived classes ? Pin
Thomas Haller9-Dec-04 3:00
Thomas Haller9-Dec-04 3:00 
AnswerRe: what are the best CButton derived classes ? Pin
David Crow9-Dec-04 2:40
David Crow9-Dec-04 2:40 
GeneralRe: what are the best CButton derived classes ? Pin
Thomas Haller9-Dec-04 3:16
Thomas Haller9-Dec-04 3:16 
Generalwriting data in to an XML Pin
manimalap8-Dec-04 21:55
manimalap8-Dec-04 21:55 
GeneralRe: writing data in to an XML Pin
Ritu Kwatra8-Dec-04 23:57
Ritu Kwatra8-Dec-04 23:57 
GeneralProtection of to-be-executed written file Pin
Donny Tytgat8-Dec-04 21:38
Donny Tytgat8-Dec-04 21:38 
GeneralRe: Protection of to-be-executed written file Pin
David Crow9-Dec-04 2:46
David Crow9-Dec-04 2:46 
GeneralRe: Protection of to-be-executed written file Pin
Donny Tytgat9-Dec-04 6:36
Donny Tytgat9-Dec-04 6:36 
Generalcharacter size more than 2 bytes Pin
parag8-Dec-04 21:17
parag8-Dec-04 21:17 
GeneralRe: character size more than 2 bytes Pin
vikramlinux8-Dec-04 22:09
vikramlinux8-Dec-04 22:09 
GeneralRe: character size more than 2 bytes Pin
soundman328-Dec-04 22:17
soundman328-Dec-04 22:17 

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.