|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Bacsó Gergely
|
Jul 25, 2004 - 9:13 AM
|
Hi, I want to create a window with children in a resizable control bar, but debug assertation fails, when WM_SETFOCUS is sent to the controlbar (version 223, extcontrolbar.cpp, line 8358 or line 5607). How I can solve this problem without creating Dialog bars?
|
|
Technical Support
|
Jul 25, 2004 - 12:30 PM
|
Please note that the resizable control bar window must have only one child window. Usually it is a kind of child dialog window because dialogs are convenient in development and use. If, for some reason, a dialog window is not appropriate for you, you may code a CWnd -derived control container from scratch.
|
|
Bacsó Gergely
|
Jul 25, 2004 - 1:45 PM
|
Sorry, I meant that the bar itself contains only one child, a CListBox, and the CListBox contains more children to make an "in-place" combobox for example. And it’s not working when the container control bar gets the focus (when I try to resize it).
|
|
Bacsó Gergely
|
Jul 25, 2004 - 2:19 PM
|
I found that an invisible window was created accidentally in the control bar, so I solved the problem. Thanks for your reply.
|
|