Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. i need the gurushelp-image processing

i need the gurushelp-image processing

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    satadru
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • S 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

      M Offline
      M Offline
      Monty2
      wrote on last edited by
      #2
      1. 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
      S 1 Reply Last reply
      0
      • M Monty2
        1. 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
        S Offline
        S Offline
        satadru
        wrote on last edited by
        #3

        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

        M 1 Reply Last reply
        0
        • S 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

          M Offline
          M Offline
          Monty2
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups