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. Managed C++/CLI
  4. drawing a poker table

drawing a poker table

Scheduled Pinned Locked Moved Managed C++/CLI
c++javagraphicstutorialquestion
2 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.
  • F Offline
    F Offline
    flavour404
    wrote on last edited by
    #1

    Hi, I am new to C++. I am used to programming in java and vb. What I am trying to do, just for the fun of it (and to learn c++) is write a poker analyser. What I would like to do is draw a poker table, and to this add controls so that I can receive input from the user. Does anybody know of a good tutorial that I could follow on this type of creation (doesn't have to be a poker table, could be any type of display that accepts input? I already have underlying code, cards, decks, hands etc but haven't been able to figure anything out about interfaces! Many thanks, sorry if it is a bit vague, Ron

    C 1 Reply Last reply
    0
    • F flavour404

      Hi, I am new to C++. I am used to programming in java and vb. What I am trying to do, just for the fun of it (and to learn c++) is write a poker analyser. What I would like to do is draw a poker table, and to this add controls so that I can receive input from the user. Does anybody know of a good tutorial that I could follow on this type of creation (doesn't have to be a poker table, could be any type of display that accepts input? I already have underlying code, cards, decks, hands etc but haven't been able to figure anything out about interfaces! Many thanks, sorry if it is a bit vague, Ron

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      If you're using C++/CLI, the Graphics class contains all the methods you need, just call Invalidate() whenever you want to draw your form, and handle the forms paint method. If you're not using C++/CLI, you are in the wrong forum.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      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