AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Custom GUI Controls & GUI related
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
majkinetor



Joined: 24 May 2006
Posts: 3626
Location: Belgrade

PostPosted: Fri May 25, 2007 2:03 pm    Post subject: Custom GUI Controls & GUI related Reply with quote

This is the list of recently made controls that are ready to use in your GUIs by simply including the modules in your script (or doing something similarly easy). I provided only controls that are encapsulated well. Those that require user intervention, badly or not document, obviously buggy etc.. are not included. I will add new controls to this list as they are created.

Custom controls


Gui Related:


Some other GUI stuff

_________________


Last edited by majkinetor on Mon Jul 07, 2008 12:12 pm; edited 80 times in total
Back to top
View user's profile Send private message MSN Messenger
Supercalifragilistic
Guest





PostPosted: Fri May 25, 2007 3:19 pm    Post subject: Reply with quote

What do you think about adding the Micha's New controls on GUI windows (Buttons, Statics, HMTL, RTF...) to your list .
As the most of them are adaptation of CodeProject controls, they are note "pure" AHK ones, but they are very interesting. The RTF control, for example, is well done.
Back to top
majkinetor



Joined: 24 May 2006
Posts: 3626
Location: Belgrade

PostPosted: Fri May 25, 2007 3:32 pm    Post subject: Reply with quote

The DLL is bigger then AHK itself. It also depends on other dlls. Wrappers don't exist. (Users need to handle DllCalls). There is one wrapper for grid, but it is not documented.

The RichEdit will probably be created soon (by corrupt) without requirement for DLL.
Also, most of the controls are already available via much smaller dlls. For instance, RaGrid is only 20KB.

Second thing is that if you use one control, U must include them all....

All in all, doesn't go with goals set above:
Quote:

Those that require user intervention, badly or not document, obviously buggy etc.. are not included


For the same reasons I didn't include very good RMChart - no encapsulation, docs etc.. and some other "controls" that are just proof it is possible to do, but not serious work.

So, the most important thing for me is ability to include control untouched - no jurking around the controls source code, and that it must not influence outer world.
_________________
Back to top
View user's profile Send private message MSN Messenger
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Fri May 25, 2007 3:47 pm    Post subject: Reply with quote

Good idea to list them!
It reminded me that I had to update also the AVI control, which I just done: it is now consistent with AniGif and IPAddress.
Find it at Add a resourced AVI to your AHK Gui
It is a bit hidden in a long topic, but I am unsure of the necessity of a new topic.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
majkinetor



Joined: 24 May 2006
Posts: 3626
Location: Belgrade

PostPosted: Fri May 25, 2007 5:29 pm    Post subject: Reply with quote

Ok, I added it. I think you should create new thread though.

I hoped that I can motivate authors to improve their wrappers.
_________________
Back to top
View user's profile Send private message MSN Messenger
Elevator_Hazard



Joined: 28 Oct 2006
Posts: 304
Location: US

PostPosted: Fri May 25, 2007 10:31 pm    Post subject: Reply with quote

Quote:
It would be good if we devise some standard so we can all stick to it for the sake of future simplicity.
Hmmm... Comments that must follow a certain standard and if the control requires a lot of documentation you could use Natural Docs, I fell in love with your MMenu documentation and I may start using Natural Docs when the need arises Very Happy
_________________
Changed siggy at request of ahklerner Very Happy
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Fri May 25, 2007 11:23 pm    Post subject: Reply with quote

Since this topic is a great resource, I've made it sticky. Thanks for putting it together.
Back to top
View user's profile Send private message Send e-mail
Elevator_Hazard



Joined: 28 Oct 2006
Posts: 304
Location: US

PostPosted: Sat May 26, 2007 12:51 am    Post subject: Reply with quote

I think that Titan's Captcha Control should be added on the list, all the code needs is maybe a few more comments telling the person using it what the parameters do in detail.
_________________
Changed siggy at request of ahklerner Very Happy
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Sat May 26, 2007 1:08 am    Post subject: Reply with quote

This list seems to be real 3d party controls with wrappers for the dll calls. My captcha uses an array of Text controls for an abstraction layer, bots can quickly decipher it if they're programmed correctly. It would be useful to have a captcha control, if not with an external dll then perhaps using GDI. I'll study some PHP scripts and will try to come up with something.
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
Elevator_Hazard



Joined: 28 Oct 2006
Posts: 304
Location: US

PostPosted: Sat May 26, 2007 1:22 am    Post subject: Reply with quote

Titan wrote:
This list seems to be real 3d party controls with wrappers for the dll calls.
MMenu uses a 3rd party control? I thought things that were made in autohotkey that simulate a control (like my hyperlink one) could technically be considered a control and so added to list. (My hyperlink one isn't on there because its not too good right now and a much better solution was found)
_________________
Changed siggy at request of ahklerner Very Happy
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Sat May 26, 2007 8:42 am    Post subject: Reply with quote

Titan wrote:
bots can quickly decipher it if they're programmed correctly. It would be useful to have a captcha control, if not with an external dll then perhaps using GDI.
I fully agree, it is a nice proof of concept, but won't stop an AHK script... Beside, I am not sure of the usefulness in a Windows dialog: a Web application can be attacked by anybody in the world, but such dialog can be attacked only on the local computer, no?
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Sat May 26, 2007 10:02 am    Post subject: Reply with quote

Not many uses; it's often considered a nuisance. But there can be times when you want to prevent bots running your apps, like with macros or data collection forms.
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Sat May 26, 2007 7:38 pm    Post subject: Reply with quote

Titan wrote:
it's often considered a nuisance.
Most of the time, I don't mind, as I have full usage of my eyes (until some other people), but recently I was on a Web site on which I had to try four times before deciphering successfully the overly deformed characters...
An interesting alternative is to ask the user something a bot cannot answer, like a simple math operation, how many chars are in a string, etc., the idea being to take a random "challenge".
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Sat May 26, 2007 7:50 pm    Post subject: Reply with quote

PhiLho wrote:
I don't mind, as I have full usage of my eyes
Many men are colorblind (thankfully not I) so there's the issue of accessibility. As you said, when captchas are not configured properly they can be fustrating.

PhiLho wrote:
An interesting alternative is to ask the user something a bot cannot answer
Logic puzzles are stupid, a pattern can be learned just as quickly.
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
TheIrishThug



Joined: 19 Mar 2006
Posts: 370

PostPosted: Sat May 26, 2007 8:47 pm    Post subject: Reply with quote

While I don't really want to take this thread more off topic, some people at Microsoft came up with a different method then the standard captcha.

The test is to have the user say which picture has a cat or a dog in it. It is fairly simple for a human, but would be much harder for a computer to recognize what the subject of the image is.

It'll need to be "Of these pictures, which ones are cats?" and at least 4 pictures because only having one right answer and two pictures gives the bot a 1 in 2 shot at guessing right.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group