Click here to Skip to main content
16,022,538 members

Comments by Ernst G. Gruber (Top 6 by date)

Ernst G. Gruber 15-Jun-12 7:08am View    
Thanks a lot for the answer! The FINDSTRING method you mentioned was my plan B, but seemed to be not very elegant, for all the information necessary is already available. Additionally one needs an empty entry in the list to take care of empty elements in the array ...
Well, you can't win them all! Thank you again for your help!
Ernst G. Gruber 30-May-12 17:20pm View    
Good when you feel this way! As for me - I was and should have been on the right track after your first answer! And not carrying on pestering you unnecessarily ...
Take care! E
Ernst G. Gruber 30-May-12 9:51am View    
Just forgot to say - handle to combobox is no problem - it stems directly from CreateWindow ...
Ernst G. Gruber 30-May-12 9:46am View    
Thanks again for talking to me!
Trouble is - there is not much more than what you see in my original post. Now the original post has been extented by "get the handle of the edit part" and "set the pointer to the child procedure (and save the original pointer to the parent procedure at the same time)) as shown in my second post. Plus the child procedure for the edit part, which looks pretty much the same as in the example you pointed me to. There is no INITDIALOG or similar, just a main window and a combobox (which doesn't work). What worries me is - now I have two different ways of getting the handle of the edit part (ChildWindowFromPoint (from the example) and your FindWindowEx). Both ways deliver different results ... and both do not give me the WM_CHAR and ....

As a (very) old OS/390 warhorse I just wonder how complicated the use of one of the most common forms of a combobox can be ....

Just drop me a line if you want to have a look at the "total code".

With best regards, Ernst
Ernst G. Gruber 29-May-12 15:32pm View    
Thanks a lot for your answer! I feared something like this may turn up as an answer to my question, but the article you pointed me to, looks very solid.

Thanks again and I will post the outcome of my attempts ...