Click here to Skip to main content
16,007,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help with pointer in View Pin
Christian Graus9-Dec-02 13:26
protectorChristian Graus9-Dec-02 13:26 
GeneralRe: Need help with pointer in View Pin
E39-Dec-02 13:44
E39-Dec-02 13:44 
GeneralRe: Need help with pointer in View Pin
Christian Graus9-Dec-02 14:58
protectorChristian Graus9-Dec-02 14:58 
GeneralRe: Need help with pointer in View Pin
KarstenK9-Dec-02 21:37
mveKarstenK9-Dec-02 21:37 
GeneralRe: Need help with pointer in View Pin
Michael P Butler9-Dec-02 23:03
Michael P Butler9-Dec-02 23:03 
GeneralRe: Need help with pointer in View ( Got it working)... Pin
E310-Dec-02 4:40
E310-Dec-02 4:40 
GeneralWM_USER OR WM_APP How to Pin
tahirjhangvi9-Dec-02 11:21
tahirjhangvi9-Dec-02 11:21 
GeneralRe: WM_USER OR WM_APP How to Pin
jhwurmbach9-Dec-02 21:58
jhwurmbach9-Dec-02 21:58 
You can not send messages directly to property pages. You need the handler in the sheet.
Anyway, if your document changes and you want to notice the views(s) UpdateAllViews() is the way to go. You can send a private "magic number" with it as a Hint, and all Views of your document get this (Via OnUpdate()).
The Views in turn hand any notification down to their children e.g. a CPropertySheet, or they query the property sheet for the active page and work with that.
With all this, be sure that you do NOT duplicate data that you have in the document! Have the pages show the documents data, not the document send its data to the pages for duplicate storage!
You get in all kinds of inconsistency troubles if you try (and inevitably fail) to do so.


"My opinions may have changed, but not the fact that I am right."
Found in the sig of Herbert Kaminski
GeneralRe: WM_USER OR WM_APP How to Pin
tahirjhangvi10-Dec-02 3:47
tahirjhangvi10-Dec-02 3:47 
GeneralWord Wrap Pin
Dennis L9-Dec-02 10:45
Dennis L9-Dec-02 10:45 
QuestionRemove CStatusBar Gripper?? Pin
RobJones9-Dec-02 10:15
RobJones9-Dec-02 10:15 
AnswerRe: Remove CStatusBar Gripper?? Pin
pranavamhari9-Dec-02 14:22
pranavamhari9-Dec-02 14:22 
Generalaghghghghh!!!!! Pin
joshfl9-Dec-02 7:55
joshfl9-Dec-02 7:55 
GeneralRe: aghghghghh!!!!! Pin
Maximilien9-Dec-02 8:00
Maximilien9-Dec-02 8:00 
GeneralRe: aghghghghh!!!!! Pin
Rickard Andersson209-Dec-02 8:03
Rickard Andersson209-Dec-02 8:03 
GeneralRe: aghghghghh!!!!! Pin
joshfl9-Dec-02 8:23
joshfl9-Dec-02 8:23 
GeneralRe: aghghghghh!!!!! Pin
Joaquín M López Muñoz9-Dec-02 8:40
Joaquín M López Muñoz9-Dec-02 8:40 
GeneralRe: aghghghghh!!!!! Pin
joshfl9-Dec-02 8:59
joshfl9-Dec-02 8:59 
GeneralRe: aghghghghh!!!!! Pin
carrie9-Dec-02 9:03
carrie9-Dec-02 9:03 
GeneralRe: aghghghghh!!!!! Pin
joshfl9-Dec-02 9:43
joshfl9-Dec-02 9:43 
GeneralRe: aghghghghh!!!!! Pin
Joaquín M López Muñoz9-Dec-02 9:09
Joaquín M López Muñoz9-Dec-02 9:09 
GeneralRe: aghghghghh!!!!! Pin
joshfl9-Dec-02 9:50
joshfl9-Dec-02 9:50 
GeneralRe: aghghghghh!!!!! Pin
Joaquín M López Muñoz9-Dec-02 9:58
Joaquín M López Muñoz9-Dec-02 9:58 
GeneralRe: aghghghghh!!!!! Pin
joshfl9-Dec-02 10:33
joshfl9-Dec-02 10:33 
GeneralRe: aghghghghh!!!!! Pin
Joaquín M López Muñoz9-Dec-02 10:54
Joaquín M López Muñoz9-Dec-02 10:54 

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.