1. 2 questions...

I have two other questions (And YES, Cuny should add the shellExecute
commands in his Win32lib.doc), if you can help, please do so..

1) I want to make a message box pop up if I can't run
a program because it is not found. I am using 'shellExecute'
and have found no way to see if there was an error..

2) Every time I make a Combo box and try to type in it, the
window will not let me! Also, if i do an 'addItem( Combo, "hey!")'
(or something like that), the combo box does NOT drop down! instead
I have to press the DOWN and UP arrow to move around the items. Is
there a way to make that combo drop down and display the items?

thnx...

Get you free email at http://gha.zzn.com and visit us at http://gha.cjb.net
___________________________________________________________
Get your own Web-Based E-mail Service at http://www.zzn.com

new topic     » topic index » view message » categorize

2. Re: 2 questions...

The Jok3r wrote:

> I am using 'shellExecute'
> and have found no way to
> see if there was an error..

Download the Win32 help file on the RDS site - it's extremely useful.
Win32Lib discards the value, but you can change the code so it returns a
function value. From the Win32 help file on 'ShellExecute':

"If the function fails, the return value is an error value that is less than
or equal to 32."

> Every time I make a Combo
> box and try to type in it,
> the window will not let me!

That's odd. Perhaps I mangled an attribute. I'll have to take a look at a
prior version and see what broke.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu