Click here to Skip to main content
16,010,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reading text from an activated view... Pin
PankajB11-Sep-08 17:22
PankajB11-Sep-08 17:22 
GeneralRe: Reading text from an activated view... Pin
PankajB11-Sep-08 18:01
PankajB11-Sep-08 18:01 
GeneralRe: Reading text from an activated view... Pin
enhzflep11-Sep-08 23:07
enhzflep11-Sep-08 23:07 
GeneralRe: Reading text from an activated view... Pin
PankajB11-Sep-08 23:54
PankajB11-Sep-08 23:54 
GeneralRe: Reading text from an activated view... Pin
James R. Twine12-Sep-08 7:52
James R. Twine12-Sep-08 7:52 
GeneralRe: Reading text from an activated view... Pin
PankajB14-Sep-08 19:38
PankajB14-Sep-08 19:38 
QuestionBasic MFC SDI question Pin
Klive811-Sep-08 4:30
Klive811-Sep-08 4:30 
AnswerRe: Basic MFC SDI question Pin
Mark Salsbery11-Sep-08 5:35
Mark Salsbery11-Sep-08 5:35 
lagu2653 wrote:
How do I get hold of instances of the classes so I can access the methods?


There are no instances of classes (objects) until you create them.

You can't access non-static methods of a class without an object.


lagu2653 wrote:
I don't want to use "new" on CMainFrame. This would create a new form. I want to get hold of the handle to the existing form and view (CMainFrame and CMyAppView).


Where do these existing windows come from if you don't create them?


Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionRe: Basic MFC SDI question Pin
led mike11-Sep-08 5:39
led mike11-Sep-08 5:39 
AnswerOT Pin
CPallini11-Sep-08 5:46
mveCPallini11-Sep-08 5:46 
AnswerRe: Basic MFC SDI question Pin
Mark Salsbery11-Sep-08 6:02
Mark Salsbery11-Sep-08 6:02 
AnswerRe: Basic MFC SDI question Pin
CPallini11-Sep-08 5:45
mveCPallini11-Sep-08 5:45 
AnswerRe: Basic MFC SDI question Pin
bob1697211-Sep-08 6:38
bob1697211-Sep-08 6:38 
Questionhow to get visual c++ to restore open files? Pin
Sauce!11-Sep-08 3:24
Sauce!11-Sep-08 3:24 
AnswerRe: how to get visual c++ to restore open files? Pin
Sauce!13-Sep-08 17:11
Sauce!13-Sep-08 17:11 
QuestionWrite a COM object used by asp app the first time, need help Pin
followait11-Sep-08 2:29
followait11-Sep-08 2:29 
AnswerRe: Write a COM object used by asp app the first time, need help Pin
Ju@ncho11-Sep-08 3:00
Ju@ncho11-Sep-08 3:00 
GeneralRe: Write a COM object used by asp app the first time, need help Pin
followait11-Sep-08 3:36
followait11-Sep-08 3:36 
GeneralRe: Write a COM object used by asp app the first time, need help Pin
SandipG 11-Sep-08 3:47
SandipG 11-Sep-08 3:47 
GeneralRe: Write a COM object used by asp app the first time, need help Pin
followait11-Sep-08 15:06
followait11-Sep-08 15:06 
QuestionHow to implement visual componenets relations Pin
reza matinnejad11-Sep-08 2:04
reza matinnejad11-Sep-08 2:04 
QuestionDetermine the CRichEditCtrl which holds the focus Pin
SutterA11-Sep-08 1:46
SutterA11-Sep-08 1:46 
AnswerRe: Determine the CRichEditCtrl which holds the focus Pin
SandipG 11-Sep-08 1:53
SandipG 11-Sep-08 1:53 
GeneralRe: Determine the CRichEditCtrl which holds the focus Pin
SutterA11-Sep-08 2:09
SutterA11-Sep-08 2:09 
GeneralRe: Determine the CRichEditCtrl which holds the focus [modified] Pin
SandipG 11-Sep-08 2:44
SandipG 11-Sep-08 2:44 

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.