Jump to content
Sign in to follow this  

something about WIN32API

Recommended Posts



1,SelectObject(hdc,   GetStockObject(NULL_BRUSH));   //   或者HOLLOW_BRUSH   
2,Ellipse(hdc,   0,   0,   300,200);

This is a C code.


How to change it's first line to a AU3 code?


2,DllCall("GDI32.dll", "int", "Ellipse", "hwnd", $hdc[0],"int", 0, "int",0, "int",300, "int", 200)

Maybe something like this??

DllCall("GDI32.dll", "int", "SelectObject", "hwnd", $hdc[0],"hwnd", 0)




DllCall("GDI32.dll", "int", "SelectObject", "hwnd", $hdc[0],"hwnd", $hdc1[0])

Edited by AU3Newbie

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.