Click here to Skip to main content
15,886,578 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help on how to create image on child window and have to move along with vertical scroll bar to my dialog box Pin
John50222-Feb-09 1:32
John50222-Feb-09 1:32 
GeneralRe: Need help on how to create image on child window and have to move along with vertical scroll bar to my dialog box Pin
John5021-Mar-09 19:07
John5021-Mar-09 19:07 
GeneralRe: Need help on how to create image on child window and have to move along with vertical scroll bar to my dialog box Pin
Stuart Dootson1-Mar-09 20:56
professionalStuart Dootson1-Mar-09 20:56 
GeneralRe: Need help on how to create image on child window and have to move along with vertical scroll bar to my dialog box Pin
John5021-Mar-09 21:58
John5021-Mar-09 21:58 
GeneralRe: Need help on how to create image on child window and have to move along with vertical scroll bar to my dialog box Pin
Stuart Dootson1-Mar-09 22:06
professionalStuart Dootson1-Mar-09 22:06 
GeneralRe: Need help on how to create image on child window and have to move along with vertical scroll bar to my dialog box Pin
John5021-Mar-09 22:28
John5021-Mar-09 22:28 
GeneralRe: Need help on how to create image on child window and have to move along with vertical scroll bar to my dialog box Pin
Stuart Dootson1-Mar-09 23:14
professionalStuart Dootson1-Mar-09 23:14 
GeneralRe: Need help on how to create image on child window and have to move along with vertical scroll bar to my dialog box Pin
John5022-Mar-09 0:13
John5022-Mar-09 0:13 
Sorry earlier i sent the log after i have added some code which weren't help me...
Please check the below log and let me know where i am going wrong..?

16:41:12:106- Scroll Dialog init dialog function called
16:41:12:480- old_x1 = -842150451,old_y1 = -842150451,old_x2 = -842150451,old_y2 = -842150451
16:41:12:494- SetRop2 is called with nOldmode and return value is : 13
16:41:12:495- x1 = 37,y1 = 68,x2 = 37,y2 = 827
16:41:15:480- old_x1 = 37,old_y1 = 68,old_x2 = 37,old_y2 = 827
16:41:15:494- SetRop2 is called with nOldmode and return value is : 13
16:41:15:495- x1 = 153,y1 = 68,x2 = 153,y2 = 827
16:41:15:480- old_x1 = 153,old_y1 = 68,old_x2 = 153,old_y2 = 827
16:41:15:494- SetRop2 is called with nOldmode and return value is : 13
16:41:15:495- x1 = 153,y1 = 68,x2 = 153,y2 = 827
16:41:15:480- old_x1 = 153,old_y1 = 68,old_x2 = 153,old_y2 = 827
16:41:15:494- SetRop2 is called with nOldmode and return value is : 13
16:41:15:495- x1 = 153,y1 = 68,x2 = 153,y2 = 827
16:41:16:480- old_x1 = 153,old_y1 = 68,old_x2 = 153,old_y2 = 827
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = 68,x2 = 155,y2 = 827
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 0
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 3
16:41:16:480- old_x1 = 155,old_y1 = 68,old_x2 = 155,old_y2 = 827
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = 65,x2 = 155,y2 = 824
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 11
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 12
16:41:16:480- old_x1 = 155,old_y1 = 65,old_x2 = 155,old_y2 = 824
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = 56,x2 = 155,y2 = 815
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 31
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 39
16:41:16:480- old_x1 = 155,old_y1 = 56,old_x2 = 155,old_y2 = 815
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = 29,x2 = 155,y2 = 788
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 70
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 78
16:41:16:480- old_x1 = 155,old_y1 = 29,old_x2 = 155,old_y2 = 788
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = -10,x2 = 155,y2 = 749
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 121
16:41:16:480- old_x1 = 155,old_y1 = -10,old_x2 = 155,old_y2 = 749
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = -53,x2 = 155,y2 = 706
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 159
16:41:16:480- old_x1 = 155,old_y1 = -53,old_x2 = 155,old_y2 = 706
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = -91,x2 = 155,y2 = 668
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 182
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 193
16:41:16:480- old_x1 = 155,old_y1 = -91,old_x2 = 155,old_y2 = 668
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = -125,x2 = 155,y2 = 634
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 215
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 218
16:41:16:480- old_x1 = 155,old_y1 = -125,old_x2 = 155,old_y2 = 634
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = -150,x2 = 155,y2 = 609
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 235
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 237
16:41:16:480- old_x1 = 155,old_y1 = -150,old_x2 = 155,old_y2 = 609
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = -169,x2 = 155,y2 = 590
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 248
16:41:16:480- old_x1 = 155,old_y1 = -169,old_x2 = 155,old_y2 = 590
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = -180,x2 = 155,y2 = 579
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 254
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 255
16:41:16:480- old_x1 = 155,old_y1 = -180,old_x2 = 155,old_y2 = 579
16:41:16:494- SetRop2 is called with nOldmode and return value is : 13
16:41:16:495- x1 = 155,y1 = -187,x2 = 155,y2 = 572
16:41:16:210- VSroll bar clicked
16:41:16:220- x = 0, y = 260
16:41:17:480- old_x1 = 155,old_y1 = -187,old_x2 = 155,old_y2 = 572
16:41:17:494- SetRop2 is called with nOldmode and return value is : 13
16:41:17:495- x1 = 155,y1 = -192,x2 = 155,y2 = 567
16:41:17:210- VSroll bar clicked
16:41:17:220- x = 0, y = 265
16:41:17:480- old_x1 = 155,old_y1 = -192,old_x2 = 155,old_y2 = 567
16:41:17:494- SetRop2 is called with nOldmode and return value is : 13
16:41:17:495- x1 = 155,y1 = -197,x2 = 155,y2 = 562
16:41:17:210- VSroll bar clicked
16:41:17:220- x = 0, y = 269
16:41:17:210- VSroll bar clicked
16:41:17:220- x = 0, y = 271
16:41:17:480- old_x1 = 155,old_y1 = -197,old_x2 = 155,old_y2 = 562
16:41:17:494- SetRop2 is called with nOldmode and return value is : 13
16:41:17:495- x1 = 155,y1 = -203,x2 = 155,y2 = 556
16:41:17:480- old_x1 = 155,old_y1 = -203,old_x2 = 155,old_y2 = 556
16:41:17:494- SetRop2 is called with nOldmode and return value is : 13
16:41:17:495- x1 = 157,y1 = -203,x2 = 157,y2 = 556
16:41:17:210- VSroll bar clicked
16:41:17:220- x = 0, y = 271
16:41:17:480- old_x1 = 157,old_y1 = -203,old_x2 = 157,old_y2 = 556
16:41:17:494- SetRop2 is called with nOldmode and return value is : 13
16:41:17:495- x1 = 158,y1 = -203,x2 = 158,y2 = 556
16:41:17:210- VSroll bar clicked
16:41:17:220- x = 0, y = 271
16:41:18:480- old_x1 = 158,old_y1 = -203,old_x2 = 158,old_y2 = 556
16:41:18:494- SetRop2 is called with nOldmode and return value is : 13
16:41:18:495- x1 = 159,y1 = -203,x2 = 159,y2 = 556
16:41:18:210- VSroll bar clicked
16:41:18:220- x = 0, y = 269
16:41:18:480- old_x1 = 159,old_y1 = -203,old_x2 = 159,old_y2 = 556
16:41:18:494- SetRop2 is called with nOldmode and return value is : 13
16:41:18:495- x1 = 159,y1 = -201,x2 = 159,y2 = 558
16:41:18:210- VSroll bar clicked
16:41:18:220- x = 0, y = 260
16:41:18:210- VSroll bar clicked
16:41:18:220- x = 0, y = 255
16:41:18:480- old_x1 = 159,old_y1 = -201,old_x2 = 159,old_y2 = 558
16:41:18:494- SetRop2 is called with nOldmode and return value is : 13
16:41:18:495- x1 = 159,y1 = -187,x2 = 159,y2 = 572
16:41:18:210- VSroll bar clicked
16:41:18:220- x = 0, y = 234
16:41:18:210- VSroll bar clicked
16:41:18:220- x = 0, y = 221
16:41:18:480- old_x1 = 159,old_y1 = -187,old_x2 = 159,old_y2 = 572
16:41:18:494- SetRop2 is called with nOldmode and return value is : 13
16:41:18:495- x1 = 159,y1 = -153,x2 = 159,y2 = 606
16:41:18:210- VSroll bar clicked
16:41:18:220- x = 0, y = 181
16:41:18:210- VSroll bar clicked
16:41:18:220- x = 0, y = 165
16:41:18:480- old_x1 = 159,old_y1 = -153,old_x2 = 159,old_y2 = 606
16:41:18:494- SetRop2 is called with nOldmode and return value is : 13
16:41:18:495- x1 = 159,y1 = -97,x2 = 159,y2 = 662
16:41:18:210- VSroll bar clicked
16:41:18:220- x = 0, y = 92
16:41:18:480- old_x1 = 159,old_y1 = -97,old_x2 = 159,old_y2 = 662
16:41:18:494- SetRop2 is called with nOldmode and return value is : 13
16:41:18:495- x1 = 159,y1 = -24,x2 = 159,y2 = 735
16:41:18:210- VSroll bar clicked
16:41:18:220- x = 0, y = 25
16:41:18:480- old_x1 = 159,old_y1 = -24,old_x2 = 159,old_y2 = 735
16:41:18:494- SetRop2 is called with nOldmode and return value is : 13
16:41:18:495- x1 = 159,y1 = 43,x2 = 159,y2 = 802
16:41:18:210- VSroll bar clicked
16:41:18:220- x = 0, y = 0
16:41:18:480- old_x1 = 159,old_y1 = 43,old_x2 = 159,old_y2 = 802
16:41:18:494- SetRop2 is called with nOldmode and return value is : 13
16:41:18:495- x1 = 159,y1 = 68,x2 = 159,y2 = 827
16:41:18:210- VSroll bar clicked
16:41:18:220- x = 0, y = 0
16:41:18:480- old_x1 = 159,old_y1 = 68,old_x2 = 159,old_y2 = 827
16:41:18:494- SetRop2 is called with nOldmode and return value is : 13
16:41:18:495- x1 = 160,y1 = 68,x2 = 160,y2 = 827
16:41:19:480- old_x1 = 160,old_y1 = 68,old_x2 = 160,old_y2 = 827
16:41:19:494- SetRop2 is called with nOldmode and return value is : 13
16:41:19:495- x1 = 161,y1 = 68,x2 = 161,y2 = 827
16:41:19:480- old_x1 = 161,old_y1 = 68,old_x2 = 161,old_y2 = 827
16:41:19:494- SetRop2 is called with nOldmode and return value is : 13
16:41:19:495- x1 = 162,y1 = 68,x2 = 162,y2 = 827
GeneralRe: Need help on how to create image on child window and have to move along with vertical scroll bar to my dialog box Pin
Stuart Dootson2-Mar-09 0:39
professionalStuart Dootson2-Mar-09 0:39 
GeneralRe: Need help on how to create image on child window and have to move along with vertical scroll bar to my dialog box Pin
John50212-Feb-09 1:13
John50212-Feb-09 1:13 
QuestionHeap corruption probelm when i try to return std::string from function in dll Pin
dhpatil15-Feb-09 1:54
dhpatil15-Feb-09 1:54 
AnswerRe: Heap corruption probelm when i try to return std::string from function in dll Pin
Stuart Dootson5-Feb-09 2:47
professionalStuart Dootson5-Feb-09 2:47 
QuestionHow to execute other programs at the given time? Pin
fantasy12155-Feb-09 1:46
fantasy12155-Feb-09 1:46 
QuestionRe: How to execute other programs at the given time? Pin
CPallini5-Feb-09 2:02
mveCPallini5-Feb-09 2:02 
GeneralRe: How to execute other programs at the given time? Pin
fantasy12155-Feb-09 2:17
fantasy12155-Feb-09 2:17 
GeneralRe: How to execute other programs at the given time? [modified] Pin
CPallini5-Feb-09 2:39
mveCPallini5-Feb-09 2:39 
GeneralRe: How to execute other programs at the given time? Pin
Stuart Dootson5-Feb-09 2:42
professionalStuart Dootson5-Feb-09 2:42 
AnswerRe: How to execute other programs at the given time? Pin
Hamid_RT5-Feb-09 20:55
Hamid_RT5-Feb-09 20:55 
QuestionTree control collapsing problem Pin
angel.rover5-Feb-09 1:31
angel.rover5-Feb-09 1:31 
AnswerRe: Tree control collapsing problem Pin
Code-o-mat5-Feb-09 1:35
Code-o-mat5-Feb-09 1:35 
GeneralRe: Tree control collapsing problem Pin
angel.rover5-Feb-09 3:47
angel.rover5-Feb-09 3:47 
GeneralRe: Tree control collapsing problem Pin
Code-o-mat5-Feb-09 3:58
Code-o-mat5-Feb-09 3:58 
QuestionRe: Tree control collapsing problem Pin
David Crow5-Feb-09 3:18
David Crow5-Feb-09 3:18 
Questionimages in menu? Pin
josip cagalj5-Feb-09 1:30
josip cagalj5-Feb-09 1:30 
AnswerRe: images in menu? Pin
toxcct5-Feb-09 1:38
toxcct5-Feb-09 1:38 

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.