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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Painting Node

Painting Node

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionjavahelp
3 Posts 2 Posters 1 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.
  • A Offline
    A Offline
    Adrian Soon
    wrote on last edited by
    #1

    Halo... I was a java user and I have program a application tat allow me to see my node moving when I move around in my house using my mobile phone. now I wan to change the langauge to C++ MFC so as to put on my PDA. And I have successfully coded the stuff. but my node don't move when I on the application. but when I click on the pda I can actually move... meaning my codeds have no problem but the screen can not refresh to paint the new node position. do anyone have a alike application lik mine? or do anyone know wat was the problem y the pda nv repaint. does the WM_PAINT auto repaint all the time? or U have any question pls ask thank U...

    PJ ArendsP 1 Reply Last reply
    0
    • A Adrian Soon

      Halo... I was a java user and I have program a application tat allow me to see my node moving when I move around in my house using my mobile phone. now I wan to change the langauge to C++ MFC so as to put on my PDA. And I have successfully coded the stuff. but my node don't move when I on the application. but when I click on the pda I can actually move... meaning my codeds have no problem but the screen can not refresh to paint the new node position. do anyone have a alike application lik mine? or do anyone know wat was the problem y the pda nv repaint. does the WM_PAINT auto repaint all the time? or U have any question pls ask thank U...

      PJ ArendsP Offline
      PJ ArendsP Offline
      PJ Arends
      wrote on last edited by
      #2

      Adrian Soon wrote: does the WM_PAINT auto repaint all the time? No, you have to tell it to redraw. Call CWnd::RedrawWindow() to force the window to redraw.


      "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04 Within you lies the power for good - Use it!

      Within you lies the power for good; Use it!

      A 1 Reply Last reply
      0
      • PJ ArendsP PJ Arends

        Adrian Soon wrote: does the WM_PAINT auto repaint all the time? No, you have to tell it to redraw. Call CWnd::RedrawWindow() to force the window to redraw.


        "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04 Within you lies the power for good - Use it!

        A Offline
        A Offline
        Adrian Soon
        wrote on last edited by
        #3

        about the stuff... do u have any sample code to share? thanks for the help... btw... if I wan to change it from painting to using active X to do it... is it possible? I need a sample code tat is simmilar to mine... do U know any? I jus need something tat allow a node to repaint itself without user touching the screen... and the node will move from it spot too...

        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