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. Plz help me

Plz help me

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++help
3 Posts 3 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

    1.How do I access the onpaint(WM_PAINT message handler)of the main window from the child window. For ex.While loading an image from child to parent window,the overlap portion has to be repainted on the parent window. 2.Can I integrate VB codes with VC++ ? and how? 3.What is vb5addin.dll. and why it is needed? and how I will use it through my programme.

    T P 2 Replies Last reply
    0
    • S satadru

      1.How do I access the onpaint(WM_PAINT message handler)of the main window from the child window. For ex.While loading an image from child to parent window,the overlap portion has to be repainted on the parent window. 2.Can I integrate VB codes with VC++ ? and how? 3.What is vb5addin.dll. and why it is needed? and how I will use it through my programme.

      T Offline
      T Offline
      twing
      wrote on last edited by
      #2

      try GetParent()! Hello World!

      1 Reply Last reply
      0
      • S satadru

        1.How do I access the onpaint(WM_PAINT message handler)of the main window from the child window. For ex.While loading an image from child to parent window,the overlap portion has to be repainted on the parent window. 2.Can I integrate VB codes with VC++ ? and how? 3.What is vb5addin.dll. and why it is needed? and how I will use it through my programme.

        P Offline
        P Offline
        Prakash Nadar
        wrote on last edited by
        #3

        If i got you rite, you want to send the onpaint message to the parent window. so what you do is, get the HWND or CWnd* of the parent window and Invaidate() it. This will redraw your parent window. The World is getting smaller and so are the people.

        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