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 

Send password to Edit with hide
Goto page Previous  1, 2, 3
 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
SKAN



Joined: 26 Dec 2005
Posts: 8688

PostPosted: Fri Sep 21, 2007 11:54 am    Post subject: Reply with quote

This? http://www.autohotkey.com/forum/viewtopic.php?p=121621#121621
Works for me in W2K & XP ( Also in Win 98 IIRC )

Question
Back to top
View user's profile Send private message Send e-mail
NotLoggedIn-Conquer
Guest





PostPosted: Sun Sep 23, 2007 3:08 am    Post subject: Reply with quote

My apologies. Its working in normal windows, just not notepad which I tested it with the first time. Strange. Maybe some windows are an exception for this code..
Back to top
SKAN



Joined: 26 Dec 2005
Posts: 8688

PostPosted: Sun Sep 23, 2007 7:06 am    Post subject: Reply with quote

You cannot set ES_PASSWORD style for multiline edit control ( like in Notepad ) Smile
Back to top
View user's profile Send private message Send e-mail
SKAN



Joined: 26 Dec 2005
Posts: 8688

PostPosted: Tue Oct 09, 2007 1:36 pm    Post subject: Reply with quote

Dear Sean, Smile

Sean wrote:
Skan wrote:
Sean, Why the shlwapi\SHAutoComplete does not work with a ComboBox control ? Rolling Eyes

SHAutoComplete must be appied to Edit controls.
So, in ComboBox case, first have to find its (child) Edit control. E.g.,

Code:
Gui, Add, ComboBox, w640 HWNDhMyCombo
ControlGet, hMyEdit, hWnd,, Edit1, ahk_id %hMyCombo%
SHAutoComplete(hMyEdit)
Gui, Show
Return


I am facing difficulties in setting the number of items in DDL of ComboBox
I tried the XP-specific message: CB_SETMINVISIBLE and though it returns a True, the number of items shown is always 7 ( as the case with the Run dialog )

I am trying to convince the ComboBox to dropdown atleast 45 items when I am typing a filepath! I am able to resize the DDL with the size-grip manually, but the control defaults to 7 items on every run.

How to programmatically set the DDL rows ?

Here is a snapshot example:


Rolling Eyes
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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