![]() |
CCmdUI::SetRadio - "black-dot"-look in menus? |
Post Reply ![]() |
Author | |
voitas ![]() Newbie ![]() Joined: 03 July 2006 Location: Poland Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 03 July 2006 at 5:19am |
I cannot get "black-dots" in menu items, which I checked with CCmdUI::SetRadio. I have same situation in Codejock samples (GUI_Explorer and others). There are only regular "check-marks" visible.
When I go into the CCmdUI::SetRadio I can see (MFC source file cmdtarg.cpp): SetCheck(bOn ? 1 : 0); if (m_pMenu != NULL) { [...] SetMenuItemBitmaps(m_pMenu->m_hMenu, [...], _AfxLoadDotBitmap()) but m_pMenu is always NULL, and _AfxLoadDotBitmap() is never called during the application lifetime. The actual type of object passed to UPDATE_UI handler is CXTPCommandBarCmdUI, which overrides method SetCheck, but not SetRadio. Is it possible to get "dot-marks" in menus with XtremeToolkit? Or maybe suggestions what I possibly do wrong? |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Here sample: RadioTest.zip
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |