Can anybody rewrite lexikos's resizable frame to C++?

Talk about things C/C++, some related to AutoHotkey
brandonhotkey
Posts: 89
Joined: 03 Nov 2013, 05:46

Can anybody rewrite lexikos's resizable frame to C++?

12 Jul 2015, 12:32

I have found this script made by lexikos:

http://p.ahkscript.org/?p=3acf77

(http://www.autohotke...angle/?p=186305)

can anybody to rewrite it to work in C++? I do not need complete application (I have one) but just the functions to start and end drawing. So I could install it. I am C/C++ newbie, using Visual Studio 2010.
User avatar
joedf
Posts: 7735
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: Can anybody rewrite lexikos's resizable frame to C++?

15 Jul 2015, 11:15

Your second link is broken :(
User avatar
joedf
Posts: 7735
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: Can anybody rewrite lexikos's resizable frame to C++?

16 Jul 2015, 01:05

What's is the particular part you are having issue rewriting?
The code is actually pretty straightforward. ;)
brandonhotkey
Posts: 89
Joined: 03 Nov 2013, 05:46

Re: Can anybody rewrite lexikos's resizable frame to C++?

03 Sep 2015, 11:55

No need for drawing... On Windows when you want to select some file or icons you can use a simple frame, just click and drag mouse pointer.

My question is how can I do it (using Visual Studio C++) to use such frame in a window? I have a window displaying a map. I would like to use this frame so mark certain area and to get the coordinates after I realease mouse button.

How is this function called and what library it is using?
User avatar
joedf
Posts: 7735
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: Can anybody rewrite lexikos's resizable frame to C++?

04 Sep 2015, 15:44

I dont think the "select frame box" exists for actual windows. :/
Youll have to draw it manually, probably using GDI+ or something..

Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 1 guest