Click here to Skip to main content
15,920,111 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
Stuart Dootson8-Feb-09 8:01
professionalStuart Dootson8-Feb-09 8:01 
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
John5028-Feb-09 9:59
John5028-Feb-09 9:59 
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 Dootson8-Feb-09 10:28
professionalStuart Dootson8-Feb-09 10: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 Dootson8-Feb-09 22:07
professionalStuart Dootson8-Feb-09 22: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
John5029-Feb-09 3:05
John5029-Feb-09 3:05 
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
John50210-Feb-09 7:00
John50210-Feb-09 7:00 
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 Dootson10-Feb-09 8:17
professionalStuart Dootson10-Feb-09 8:17 
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
John50210-Feb-09 20:45
John50210-Feb-09 20:45 
Hi Stuart,
I am creating the check box dynamically using below code snippet,
CButton *check_box; // I have delared the variable in header file

////In OnPaint function i am writing below code

check_box = new CButton;

check_box->Create("Venkatesh",WS_CHILD | WS_VISIBLE|BS_AUTOCHECKBOX|BS_LEFTTEXT,
CRect(rcImage2.left,rcImage2.top,rcImage2.right,rcImage2.bottom),this,0x11);

I want to know how to specify the rectange parameters in this function..

Please let me know, so that i will go ahead...

Thanks
Venkatesh.
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 Dootson10-Feb-09 21:01
professionalStuart Dootson10-Feb-09 21:01 
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
John50211-Feb-09 1:56
John50211-Feb-09 1: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
Stuart Dootson11-Feb-09 2:12
professionalStuart Dootson11-Feb-09 2:12 
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:01
John50212-Feb-09 1:01 
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 Dootson12-Feb-09 1:02
professionalStuart Dootson12-Feb-09 1:02 
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
John50215-Feb-09 23:51
John50215-Feb-09 23:51 
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 Dootson16-Feb-09 0:04
professionalStuart Dootson16-Feb-09 0:04 
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
John50216-Feb-09 0:45
John50216-Feb-09 0:45 
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 Dootson16-Feb-09 0:55
professionalStuart Dootson16-Feb-09 0:55 
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
John50216-Feb-09 5:01
John50216-Feb-09 5:01 
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 Dootson16-Feb-09 6:49
professionalStuart Dootson16-Feb-09 6:49 
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
John50216-Feb-09 7:16
John50216-Feb-09 7:16 
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 Dootson16-Feb-09 8:12
professionalStuart Dootson16-Feb-09 8:12 
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
John50216-Feb-09 18:30
John50216-Feb-09 18:30 
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 Dootson16-Feb-09 19:42
professionalStuart Dootson16-Feb-09 19:42 
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
John50216-Feb-09 21:48
John50216-Feb-09 21:48 
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
John50217-Feb-09 3:50
John50217-Feb-09 3:50 

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.