Click here to Skip to main content
15,569,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to initialize const of base class Pin
Boniolopez29-Sep-04 23:22
Boniolopez29-Sep-04 23:22 
GeneralRe: How to initialize const of base class Pin
Ryan Binns30-Sep-04 1:54
Ryan Binns30-Sep-04 1:54 
AnswerRe: How to initialize const of base class Pin
Alan Chambers30-Sep-04 2:14
Alan Chambers30-Sep-04 2:14 
GeneralRe: How to initialize const of base class Pin
Boniolopez30-Sep-04 6:26
Boniolopez30-Sep-04 6:26 
GeneralRe: How to initialize const of base class Pin
22491730-Sep-04 19:21
22491730-Sep-04 19:21 
AnswerRe: How to initialize const of base class Pin
Andrzej Markowski30-Sep-04 22:40
Andrzej Markowski30-Sep-04 22:40 
GeneralRe: How to initialize const of base class Pin
Boniolopez1-Oct-04 5:05
Boniolopez1-Oct-04 5:05 
Generalmake multiple mdi child windows scroll together Pin
mickelliot29-Sep-04 16:20
mickelliot29-Sep-04 16:20 
Hi there,

I have an mdi app, child window containing a cscrollview. Obviously the user can create new child windows using the window>New Window menu item. When they have created more than one view, I would like the multiple child windows to scroll synchronously. I mean that when an active child window's view is scrolled, all the other child window's views scroll along at the same time.

I can't think of a way to do this! I tried maintaining a CPoint in the document class, updated by the view whenever it is scrolled, and adding a ScrollToPosition command in the update function of the view. But it was very messy and didn't quite work correctly.

Does anybody know if there's a neat clean way I can do this, perhaps sending windows messages directly between child windows or something?

Thanks for any help,

Mick
GeneralRe: make multiple mdi child windows scroll together Pin
Ryan Binns29-Sep-04 19:14
Ryan Binns29-Sep-04 19:14 
GeneralRe: make multiple mdi child windows scroll together Pin
mickelliot30-Sep-04 7:13
mickelliot30-Sep-04 7:13 
GeneralRe: make multiple mdi child windows scroll together Pin
Ryan Binns30-Sep-04 14:48
Ryan Binns30-Sep-04 14:48 
GeneralShow animation on the dialog Pin
ic@29-Sep-04 16:09
ic@29-Sep-04 16:09 
GeneralRe: Show animation on the dialog Pin
Christian Graus29-Sep-04 16:10
mveChristian Graus29-Sep-04 16:10 
GeneralRe: Show animation on the dialog Pin
ThatsAlok29-Sep-04 19:37
ThatsAlok29-Sep-04 19:37 
GeneralRe: Show animation on the dialog Pin
Muhammad Azam29-Sep-04 20:06
Muhammad Azam29-Sep-04 20:06 
GeneralRe: Show animation on the dialog Pin
ic@30-Sep-04 12:19
ic@30-Sep-04 12:19 
GeneralNumerical Methods Program Pin
L_JIMENEZ29-Sep-04 16:07
L_JIMENEZ29-Sep-04 16:07 
GeneralRe: Numerical Methods Program Pin
styx1300129-Sep-04 17:21
styx1300129-Sep-04 17:21 
GeneralOverlap Live Video Pin
tlerner29-Sep-04 15:53
tlerner29-Sep-04 15:53 
GeneralRe: Overlap Live Video Pin
Ryan Binns29-Sep-04 19:18
Ryan Binns29-Sep-04 19:18 
QuestionHow to get access to USB 2.0 port Pin
OutlawTornNMT29-Sep-04 15:00
OutlawTornNMT29-Sep-04 15:00 
AnswerRe: How to get access to USB 2.0 port Pin
Steve Mayfield29-Sep-04 15:28
Steve Mayfield29-Sep-04 15:28 
GeneralReadDirectoryChangesW() "An unexpected network error occurred." Pin
BlackDice29-Sep-04 12:49
BlackDice29-Sep-04 12:49 
GeneralRe: ReadDirectoryChangesW() "An unexpected network error occurred." Pin
Neville Franks29-Sep-04 13:19
Neville Franks29-Sep-04 13:19 
GeneralRe: ReadDirectoryChangesW() "An unexpected network error occurred." Pin
BlackDice30-Sep-04 4:26
BlackDice30-Sep-04 4:26 

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.