i need the gurushelp-image processing
-
hi , i have the following problems... would be gratefulif you could kindly give me some suggestions..... 1)i have a dialog based application in which i have to implement a scroll view .. can i use CSrollView(i suppose i cant)..if not how do i do it..if yes then how do i do it :-D 2)i have to capture the entire image irrespective of being within the viewable region or not ....how do i go about it.... plesae help... Thanking you. Satadru
-
hi , i have the following problems... would be gratefulif you could kindly give me some suggestions..... 1)i have a dialog based application in which i have to implement a scroll view .. can i use CSrollView(i suppose i cant)..if not how do i do it..if yes then how do i do it :-D 2)i have to capture the entire image irrespective of being within the viewable region or not ....how do i go about it.... plesae help... Thanking you. Satadru
- to use Views in a Dialog there is a splended article in MSDN with sample code that should help ( but i can't figure out why you have to use CScrollView it doesn't provide anything else other than scrolling support you can use scroll bars on the dialog instead) 2)if that image is not completely displayed than you cannot capture it (it would be like , you give the application ur DC and ask it to paint on it :) ) but you can try to get that window's DC and Bitblt (might work) Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi
-
- to use Views in a Dialog there is a splended article in MSDN with sample code that should help ( but i can't figure out why you have to use CScrollView it doesn't provide anything else other than scrolling support you can use scroll bars on the dialog instead) 2)if that image is not completely displayed than you cannot capture it (it would be like , you give the application ur DC and ask it to paint on it :) ) but you can try to get that window's DC and Bitblt (might work) Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi
hi , thanks for the help cud u please tell me which article is that.... i have another problem.. from my main dialog iam creating another dialog and popping it....from this second dialog i have to access members of the main dlg ... how do i go about it ... i have tried DYNAMIC_DOWNCAST but it isnt working in my compiler ... any way ouy... Thanking you. Satadru
-
hi , thanks for the help cud u please tell me which article is that.... i have another problem.. from my main dialog iam creating another dialog and popping it....from this second dialog i have to access members of the main dlg ... how do i go about it ... i have tried DYNAMIC_DOWNCAST but it isnt working in my compiler ... any way ouy... Thanking you. Satadru
class CAnotherDlg ..... { CDialog *m_pPrevDlg; } CFirstDialog :: OnInitDialog() { CAnotherDialog dlg; dlg.m_pPrevDlg = this; dlg.DoModal(); } now whenever you use the m_pPrevDlg just cast it and use it ((CFirstDialog*)m_pPrevDlg)->FireAway(); (Don;t forget to include the firstdialog.h ;) ) as for not finding the article it is by Paul dilascia and it show how to use CHTMLView in a dialog Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi