![]() |
Combobox problem with WinExplorer sample |
Post Reply
|
| Author | |
rconn
Groupie
Joined: 16 May 2007 Location: United States Status: Offline Points: 79 |
Post Options
Thanks(0)
Quote Reply
Topic: Combobox problem with WinExplorer samplePosted: 19 May 2007 at 4:21pm |
|
I just got the ToolkitPro and have been experimenting with the WinExplorer sample. The address combo box is updated whenever I select something in the tree control, but entering something directly into the edit control of the combo box seems to be ignored. (The OnAddressBarEnter() and OnSelEndOkAddressBar() functions are never called.) Where are the combo box notifications going?
- Rex
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 May 2007 at 1:07am |
|
Hello,
OnSelEndOkAddressBar called when user show list of combobox and choose some item. OnAddressBarEnter indeed never called - was just copied from Samples\UserInterface\GUI_Explorer :(
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
rconn
Groupie
Joined: 16 May 2007 Location: United States Status: Offline Points: 79 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 May 2007 at 8:59am |
|
Hi Oleg: OnSelEndOkAddressBar is called if I select one of the entries from the drop-down list. But if I type a new entry in the edit control and hit return, it is not called -- is there any notification sent for the edit control in the combo box?
- Rex
|
|
![]() |
|
rconn
Groupie
Joined: 16 May 2007 Location: United States Status: Offline Points: 79 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 May 2007 at 9:51am |
|
Hi Oleg:
I discovered that adding a PreTranslateMessage() to my mainfrm window with a:
if ( IsDialogMessage( pMsg ))
return TRUE;
will call OnAddressBarEnter after entering something in the combobox edit control, so that's a workable solution.
- Rex
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |