Click here to Skip to main content
15,895,483 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Reading text from an activated view... Pin
enhzflep11-Sep-08 6:04
enhzflep11-Sep-08 6:04 
GeneralRe: Reading text from an activated view... Pin
James R. Twine11-Sep-08 8:51
James R. Twine11-Sep-08 8:51 
GeneralRe: Reading text from an activated view... Pin
enhzflep11-Sep-08 15:30
enhzflep11-Sep-08 15:30 
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 
   If you can easily determine the type of a given view object, or if your app only has one view-based class, you can get a pointer to the active view and cast it to the actual type of the CFormView-based class.

   Your class can expose either the text of its children or their HWNDs, either one can be used to get the text of the controls.  You can even have it present a struct-type that contains all of the HWNDs, allowing you easy access to all of the controls.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<hr></hr>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles



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 
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 

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.