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 |
|
Eugene
|
Sep 20, 2002 - 8:04 AM
|
Hi. How to obtain "expand" button in CExtControlBar in new version of Prof-UIS? Thank you.
|
|
Sergiy Lavrynenko
|
Sep 30, 2002 - 12:31 PM
|
Dear Eugene,
To get the pointer to the right button, you should use the following method of the toolbar:
CExtBarContentExpandButton * GetRightButton();
You may override your toolbar’s OnCreateBarRightBtn() method with returning NULL in case your toolbar does not have a right button at all. If you do need a right button, you should return the pointer to the instance of your implementation of the button. This button should be derived from the CExtBarContentExpandButton class. Such a technique may be used to handle different events (e.g. custom menu tracking).
|
|