News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Simple GDI Rectangle using MoveToEx and LineTo

Started by hutch--, October 07, 2022, 06:33:33 PM

Previous topic - Next topic

hutch--

Simple and easy to use code for drawing a rectangle in the client area of a Window. There are multiple ways of doing this.

morgot

Hello
why you use rcall ? What is it, and why no invoke?
Sorry for the bad English

hutch--

Its only a minor difference but using "rcall" means you are only using up to the four registers with no shadow space overhead. "invoke" is more flexible, can handle different data sizes and handle more arguments but "rcall" has less overhead.