RE: [perl-win32-gui-users] Combobox and KeyPress

2004-09-20 Thread Stuart Arnold
2 things on selecting: 1. use CB_SELECTSTRING 2. send message of CBN_SELCHANGE to notify window. the second is important in that many dialogs/windows want that notification to perform other stuff on the window. eg, selecting a printer will change what default/min margins are allowed. Adding one i

RE: [perl-win32-gui-users] Combobox and KeyPress

2004-09-20 Thread Glenn W Munroe
Brian, I do something similar in my application. Have you looked at the -dropdown and -dropdownlist options? The different behaviours are explained at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla tform/commctls/comboboxes/comboboxes.asp I use -dropdown with a Got