Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPlease Help with OPENFILENAME/GetOpenFileName Pin
el_robert2-Jul-02 10:34
el_robert2-Jul-02 10:34 
GeneralRe: Please Help with OPENFILENAME/GetOpenFileName Pin
Marshall2-Jul-02 10:56
Marshall2-Jul-02 10:56 
GeneralRe: Please Help with OPENFILENAME/GetOpenFileName Pin
Roger Stewart2-Jul-02 10:59
professionalRoger Stewart2-Jul-02 10:59 
GeneralRe: Please Help with OPENFILENAME/GetOpenFileName Pin
el_robert2-Jul-02 11:41
el_robert2-Jul-02 11:41 
GeneralGot it!!! Pin
el_robert2-Jul-02 12:47
el_robert2-Jul-02 12:47 
GeneralHelp Pin
2-Jul-02 9:41
suss2-Jul-02 9:41 
GeneralCalling between MFC classes Pin
2-Jul-02 9:39
suss2-Jul-02 9:39 
GeneralRe: Calling between MFC classes Pin
Dave Bryant2-Jul-02 11:17
Dave Bryant2-Jul-02 11:17 
For an SDI app, the main frame is simply derived from CFrameWnd, so you can call the GetActiveView() member of CFrameWnd to retrieve the current view.

The reverse is easy: there are two relevant global functions here. AfxGetApp() which returns the application object, and AfxGetMainWnd(), which returns the main window of the application (in this case, the main frame).

Dave
Generaldetecting working and non-working links in a website Pin
2-Jul-02 8:50
suss2-Jul-02 8:50 
GeneralRe: detecting working and non-working links in a website Pin
2-Jul-02 10:46
suss2-Jul-02 10:46 
GeneralMDAC 2.7 problems. Please HELP. Pin
DimkaSPB2-Jul-02 8:10
DimkaSPB2-Jul-02 8:10 
Generalbitmap writing problem Pin
SilentWarrior2-Jul-02 6:55
SilentWarrior2-Jul-02 6:55 
GeneralRe: bitmap writing problem Pin
Davide Pizzolato2-Jul-02 7:07
Davide Pizzolato2-Jul-02 7:07 
GeneralRe: bitmap writing problem Pin
Speedy3-Jul-02 11:04
Speedy3-Jul-02 11:04 
GeneralPreallocate a map Pin
2-Jul-02 6:49
suss2-Jul-02 6:49 
GeneralRe: Preallocate a map Pin
Joaquín M López Muñoz2-Jul-02 11:01
Joaquín M López Muñoz2-Jul-02 11:01 
GeneralRe: Preallocate a map Pin
markkuk2-Jul-02 21:23
markkuk2-Jul-02 21:23 
GeneralRe: Preallocate a map Pin
Alexandru Savescu2-Jul-02 22:49
Alexandru Savescu2-Jul-02 22:49 
Generalview2 will not show when selected from file/new Pin
ns2-Jul-02 6:02
ns2-Jul-02 6:02 
GeneralAssigning a member variable... Pin
RuiSantiago2-Jul-02 5:53
RuiSantiago2-Jul-02 5:53 
GeneralRe: Assigning a member variable... Pin
RuiSantiago2-Jul-02 6:14
RuiSantiago2-Jul-02 6:14 
GeneralClass Wizard Visual C++ 6.0 (DAO) can not recognize MS Access 2000 format Pin
2-Jul-02 5:28
suss2-Jul-02 5:28 
GeneralRe: Class Wizard Visual C++ 6.0 (DAO) can not recognize MS Access 2000 format Pin
#realJSOP2-Jul-02 6:27
professional#realJSOP2-Jul-02 6:27 
Generalreceiving messages in mdi Pin
ns2-Jul-02 5:27
ns2-Jul-02 5:27 
GeneralRe: receiving messages in mdi Pin
Mike Nordell2-Jul-02 8:01
Mike Nordell2-Jul-02 8:01 

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.