Click here to Skip to main content
15,911,890 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Opening Read-Only Access Files in Code Pin
Mike Nordell28-Nov-01 17:10
Mike Nordell28-Nov-01 17:10 
GeneralRe: Opening Read-Only Access Files in Code Pin
29-Nov-01 8:56
suss29-Nov-01 8:56 
QuestionDialog bar with WTL ? Pin
28-Nov-01 14:32
suss28-Nov-01 14:32 
GeneralUsing #pragma for byte-alignment Pin
john john mackey28-Nov-01 12:54
john john mackey28-Nov-01 12:54 
GeneralRe: Using #pragma for byte-alignment Pin
Todd Smith28-Nov-01 13:24
Todd Smith28-Nov-01 13:24 
GeneralCDialog Pin
Stanislav28-Nov-01 12:43
Stanislav28-Nov-01 12:43 
GeneralRe: CDialog Pin
Nish Nishant28-Nov-01 14:49
sitebuilderNish Nishant28-Nov-01 14:49 
GeneralRe: Many ways to do this! Pin
Masaaki Onishi28-Nov-01 15:19
Masaaki Onishi28-Nov-01 15:19 
Hello, the codegurus around the world;)

There are many ways to get CWnd of view and doc.

1) Pass CWnd of CBanView of the constructor of your dialog.
2) GetParent() may work.
3) Get the frame's CWnd by AfxGetMainWnd() and use GetActiveView() of
CFrameWnd.
4) Create the static function like GetView().
(You can find this static function in somewhere of MSDN.)

CFrameWnd has GetAcitveDocument() or use inline GetDocuemt() in View class.Cool | :cool:

Please, don't send me your email about your questions directly.
Have a nice day!
Sonork - 100.10571:vcdeveloper Wink | ;)

-Masaaki Onishi-


GeneralRe: CDialog Pin
Stanislav29-Nov-01 7:06
Stanislav29-Nov-01 7:06 
GeneralActiveX & Threads...gettin' Funky - Check this Out. Pin
Tim Rymer28-Nov-01 11:10
Tim Rymer28-Nov-01 11:10 
GeneralIs this is a valid Pin
28-Nov-01 10:55
suss28-Nov-01 10:55 
GeneralRe: Is this is a valid Pin
Michael Dunn28-Nov-01 13:56
sitebuilderMichael Dunn28-Nov-01 13:56 
GeneralRe: Is this is a valid Pin
Mike Nordell28-Nov-01 17:25
Mike Nordell28-Nov-01 17:25 
GeneralCustom Draw Pin
RobJones28-Nov-01 10:39
RobJones28-Nov-01 10:39 
GeneralRe: Custom Draw Pin
Wolfram Steinke28-Nov-01 10:53
Wolfram Steinke28-Nov-01 10:53 
GeneralRe: Custom Draw Pin
RobJones28-Nov-01 10:57
RobJones28-Nov-01 10:57 
GeneralRe: Custom Draw Pin
Michael Dunn28-Nov-01 13:58
sitebuilderMichael Dunn28-Nov-01 13:58 
QuestionAvoid flickering in list control? Pin
User 665828-Nov-01 9:16
User 665828-Nov-01 9:16 
AnswerRe: Avoid flickering in list control? Pin
Michael Dunn28-Nov-01 9:56
sitebuilderMichael Dunn28-Nov-01 9:56 
QuestionAre there faster accessing arrays than vectors? Pin
Chambers28-Nov-01 9:00
Chambers28-Nov-01 9:00 
AnswerRe: Are there faster accessing arrays than vectors? Pin
Christian Graus28-Nov-01 12:32
protectorChristian Graus28-Nov-01 12:32 
AnswerRe: Are there faster accessing arrays than vectors? Pin
Todd Smith28-Nov-01 14:44
Todd Smith28-Nov-01 14:44 
AnswerRe: Are there faster accessing arrays than vectors? Pin
Chambers29-Nov-01 8:50
Chambers29-Nov-01 8:50 
GeneralRe: Are there faster accessing arrays than vectors? Pin
Chris Losinger29-Nov-01 11:08
professionalChris Losinger29-Nov-01 11:08 
GeneralRe: Are there faster accessing arrays than vectors? Pin
Todd Smith29-Nov-01 12:11
Todd Smith29-Nov-01 12:11 

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.