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

C / C++ / MFC

 
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 
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 
no, it won´t work for sure. All is about getting the current view when creating the dialog. If you have the view, you have the doc with GetDocument(). From the dialog, you can get a pointer to the main frame with the method: GetParentFrame( ). Once you have the pointer to the frame, you can call its GetActiveView() method to get the current view. Thats all, i hope i have been usefull to you.
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 
GeneralRe: character size more than 2 bytes Pin
parag8-Dec-04 22:27
parag8-Dec-04 22:27 
GeneralRe: character size more than 2 bytes Pin
Prakash Nadar9-Dec-04 4:26
Prakash Nadar9-Dec-04 4:26 

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.