-
August 8th, 2013, 12:26 AM
#16
Re: Can't set text in Edit Box of ComboBox
I'm not convinced you are.
should have different window handle values. SendMessage should be the combo handle and ComboBox_SetText should be the edit handle (assuming that as you state ComboBox_SetText is equivalent to SetWindowText). It might be useful to post the code for ComboBox_SetText. Also you are not checking the return values of ComboBox_SetText to see if an error occured.
hello 2kaud
Lets say this SendMessage is working in CBN_SELCHANGE according to you(I have tried from my side its not working), but after this CBN_SELCHANGE returns, the value in edit box will be set as current selection.
How should i stop it to set it current selection from list box(I know its normal behaviour of combo box but thats not working in my case).
-
August 8th, 2013, 02:02 AM
#17
Re: Can't set text in Edit Box of ComboBox
Hello Victor,
I think u have discussed same issue in this thread. i am facing similar issue.
http://forums.codeguru.com/showthrea...ox-of-ComboBox
-
August 9th, 2013, 06:43 AM
#18
Re: Can't set text in Edit Box of ComboBox
Originally Posted by jg028461
Its having little complex functionality but whatever i am trying to achieve is easily possible.
I could do a lot of things that basically possible, but I never do that because it will confuse my customers.
Best regards,
Igor
-
August 12th, 2013, 12:25 AM
#19
Re: Can't set text in Edit Box of ComboBox
Originally Posted by Igor Vartanov
I could do a lot of things that basically possible, but I never do that because it will confuse my customers.
yes, it can confuse customers but i want it to be more clear thats why this implementation is required for me.
-
August 14th, 2013, 03:59 PM
#20
Re: Can't set text in Edit Box of ComboBox
May I offer you a compromise?
Have a simple drop-down box for your template. When user makes a selection - use it to construct your Subject field in ANOTHER edit box.
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|