then you list
3 topics. So I conclude, you are an engineer not able to count up to 3.
Next, the subject of this thread was misleading for me. By reading "Open a screen , draw a line with mouse" my immediate idea was, you may open a window and have look at the chem- or contrails, leave the mouse alone.
A good CAD system is strictly based on
analytic geometry - this has
nothing to do with "drawing lines on a screen". You complain about "those cheap low quality programs, which are frustrating to use" -- because they focus on easy mouse input and display on screen and forget about the basics.
To make your own CAD system -- yes, it is possible, a colleague did so in his spare time at work -- the tools you list (laptop, Win10, ...) are of minor importance (Ada Lovelace wrote the first computer program with no real computer at all --
https://en.wikipedia.org/wiki/Ada_Lovelace#First_computer_program ), first consider what elements your system should handle, points, lines, circles too? Circles may be simulated by many smal chords... In case you tend to this idea --
RED NEON!! -- forget it, this kind of approximation is only for display but not for a tool for
analytic geometry.
After you defined the "flock" of elements you need, take some decisions: how to tag them, how to store them (I don't need to tell an engineer about the advantages of vectors), how to file them, what attributes should be possible (linetype, linewidth, colour, show/noshow, layer, ...), if 2D or 3D, make your wish list.
Next, "interactions" of the elements: define new elements based on existing, points from intersections line-line, line-circle, circle-circle, tangents point-circle, circle-circle (four different possibe at best), younameit.
Next, "mainipulation" of elements, group, copy, move, rotate, stretch, change a. m. attributes, organize, merge files. And discard.
Up to now your system still lacks input and output. For the later consider the targeted devices, plotter, printer or screen only? Once upon a time HP-GL was a standard for every CAD system, and for a simple display on screen you may use the free HPGLview from CERN:
http://service-hpglview.web.cern.ch/service-hpglview/download_index.html
Input? Well, first by programing. Either from a language of your choice or a macro interface you add to it. As icing, when all else works as desired, you may consider an interacive interface which allows you to select elements displayed on screen for manipulation or input of new elements, for example dimensioning (
consisting of extension lines, dimension line with arrows (
consisiting of lines) or else, value as annotation).
Make a catalogue of all aspects you like or need, add a column for time it will probably take you or the costs if you buy it, sum it and ponder if it is worth it. Then go, do it. Or find someone who pays you for it. Or sell your engineering service for more hrs as it takes you, as my colleague did (without interactive input). What you plan to do is a spare time hobby.
At last one more hint, in case you go for 3D and use a pen plotter as output device, do not forget hidden line removal. Without it could be jeopardizing not only the pens and the paper (for a certainty) but also the plotter.