Old 8th January 2008, 14:19   #1
david(dallas)
Junior Member
 
Join Date: Jan 2008
Posts: 3
License Key Multi Window - how to?

I'm designing using MUI and I have a need for custom window that prompts for license key. I would like to do the multiple window look (a window for each char of a key) and once they enter a single char in a window it would auto tab to the next window. Window's installer and other do this.

Looking for ideas and examples on how to do this, if it's doable using NSIS.

Thanks in Advance..
david(dallas) is offline   Reply With Quote
Old 8th January 2008, 16:33   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
http://nsis.sf.net/File:PassDialog.zip

Stu
Afrow UK is offline   Reply With Quote
Old 8th January 2008, 20:43   #3
david(dallas)
Junior Member
 
Join Date: Jan 2008
Posts: 3
Thanks. I actually have it all written and working except for the tabbing feature, where it will auto tab to the next window when a charactoer is entered. I looked at the PassDialog code and implementing this functionality didn't jump out.
Since I have my version working, it would be nice to go with that. If someone can show me how to do the auto-tabbing functionality, that would be great.
But I also understand not re-inviting the wheel also
david(dallas) is offline   Reply With Quote
Old 9th January 2008, 00:21   #4
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
if you're already getting notifications whenever the user enters a character, then you can just check the number of characters entered and if it matches the amount required for the field, then send a a WM_SETFOCUS message to the next control?
Animaether is offline   Reply With Quote
Old 9th January 2008, 09:29   #5
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
PassDialog already does that. You enter the right number of characters and it jumps to the next box.

Stu
Afrow UK is offline   Reply With Quote
Old 10th January 2008, 21:53   #6
david(dallas)
Junior Member
 
Join Date: Jan 2008
Posts: 3
Thanks, works great!!!
david(dallas) is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump