How to draw a line using mouse in asssembly program

Status
Not open for further replies.

hrushij

Broken In
Hello friends
I want to make a pint like program.. in Assembly program
Now I want to know that how can I draw a line in using mouse just like in Paint in XP.
 

dheeraj_kumar

Legen-wait for it-dary!
I can program in assembly, just snippets and not full programs. You need to use win32 api of course, and on WM_MOUSEMOVE, use setpixel.
 

dheeraj_kumar

Legen-wait for it-dary!
How do you expect to write a windows program without using API at all? Go read up on WIN32 API, and then use it in your ASM proggies.
 
OP
hrushij

hrushij

Broken In
Cant I do without it??!!
After drawing line I also want to implement a circle drawing!! :)

I am not going to wrote a windows program.
It is just DOS base program in which i am using mouse interface via DOS interrupt
INT 33h and Display subroutine INT 10H..!! :cool:
 
Status
Not open for further replies.
Top Bottom