Drawing in real time

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Drawing in real time

    I'm creating a application with some windows, one of them has the function of receiving real-time commands from a serial port, and drawing these commands on the screen.
    I am able to run through a buffer so I can call my drawing function in WM_PAINT from the window callback, but I need something that draws in real time without the need of a buffer because the buffer may be small for the amount of commands.
    Is there any way to make it?

    Thank you