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. drawline for VC++

drawline for VC++

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++
21 Posts 7 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.
  • M mercenary01

    well its not like I just jumped onto this forum to ask for help, I did spend time on studying he example code and got the drawline working for GDI by modifying the sample codes. I spent more than the better half of 2 days and I don't appreciate you asking me to RTFM. If you don't want to give any positive input why bother giving any input?

    N Offline
    N Offline
    Nelek
    wrote on last edited by
    #21

    mercenary01 wrote:

    If you don't want to give any positive input why bother giving any input?

    I already gave you a "positive input" in the first message. And, in the second one, I didn't want to say you that you are "XXX" or "YYY", I just told you that the code we have given you DO work. This is the correct way to do it, and if it is not working for you, there should be an issue on your tests. And, as David Crow said, the second part of the answer was just a guess of what many people makes. Just copy paste. And even that... I was giving you a possible solution to correct your code IF you had made copy-paste. But I didn't gave you directly the text to a new copy paste (it would be...):

    //{{AFX\_MSG(CYourDialog)
    afx\_msg void OnPaint();
    //}}AFX\_MSG
    DECLARE\_MESSAGE\_MAP()
    

    As I have already said in other messages, here there are programmers, wether telepats nor mediums. If you don't say something concrete, we have to guess. If we have to guess, maybe we are guessing a false scenario. If we are guessing a false scenario... and you get angry with any answer... It is your problem, not ours.

    mercenary01 wrote:

    Just like to state, that I don't go around telling people how hard I worked or tired my hand on something.

    And you don't need to make it, but at least say what have you tried out, and what you not. So e can adapt our answers to your case. Or just put a piece of code where you are trying something, and if there is an error you will get a correction. But just asking...

    mercenary01 wrote:

    What is the simplest method I can use to get lines drawn on dialog boxes?

    Is not a descriptive message to get the best of the answers.

    mercenary01 wrote:

    But seriously I don't want anyone to get me wrong

    Neither do I, because of that I want to tell you that I am not angry, I am not mad... I am just trying to explain you the why of my "rude" answer, and some points of view of the people "on the other side". And I am making it to try avoiding future misunderstoods in possible new questions from you or other people that read this message. And BTW...

    mercenary01 wrote:

    ya I got it to work got a piece of code from another forum and modified it to fit the project. Thanks for asking.

    If our answe

    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