Click here to Skip to main content
15,887,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCalling APIs Problem In Drivers Pin
Coder-12345613-Sep-10 7:00
Coder-12345613-Sep-10 7:00 
AnswerRe: Calling APIs Problem In Drivers Pin
JudyL_MD13-Sep-10 11:07
JudyL_MD13-Sep-10 11:07 
QuestionSet the RibbonComboBox to Drop List type by code Pin
coolhem13-Sep-10 4:23
coolhem13-Sep-10 4:23 
AnswerRe: Set the RibbonComboBox to Drop List type by code Pin
Eugen Podsypalnikov13-Sep-10 9:15
Eugen Podsypalnikov13-Sep-10 9:15 
GeneralRe: Set the RibbonComboBox to Drop List type by code Pin
coolhem13-Sep-10 14:56
coolhem13-Sep-10 14:56 
GeneralRe: Set the RibbonComboBox to Drop List type by code Pin
Eugen Podsypalnikov13-Sep-10 19:55
Eugen Podsypalnikov13-Sep-10 19:55 
GeneralRe: Set the RibbonComboBox to Drop List type by code Pin
coolhem13-Sep-10 21:25
coolhem13-Sep-10 21:25 
GeneralRe: Set the RibbonComboBox to Drop List type by code Pin
Eugen Podsypalnikov14-Sep-10 0:00
Eugen Podsypalnikov14-Sep-10 0:00 
Try it Smile | :) :
class CMenuBarProxy : public CMFCPopupMenuBar
{
public:
  void SetDropDown(BOOL bOnOff) { m_bDropDownListMode = bOnOff; };
};

/*virtual*/ void CYourComboBox::Redraw()
{
  CMFCDropDownListBox* pcList = DYNAMIC_DOWNCAST(CMFCDropDownListBox, m_pPopupMenu);
  if (pcList) {
    CMenuBarProxy* pcBar = (CMenuBarProxy*) pcList->GetMenuBar();
    if (pcBar && !pcBar->IsDropDownListMode()) {
      pcBar->SetDropDown(TRUE);
    }
  }
  CMFCRibbonComboBox::Redraw();
}

virtual void BeHappy() = 0;

GeneralRe: Set the RibbonComboBox to Drop List type by code Pin
coolhem14-Sep-10 22:59
coolhem14-Sep-10 22:59 
QuestionLibraries and compiler compatibility Pin
funwithdolphin13-Sep-10 3:10
funwithdolphin13-Sep-10 3:10 
AnswerRe: Libraries and compiler compatibility Pin
«_Superman_»13-Sep-10 4:04
professional«_Superman_»13-Sep-10 4:04 
AnswerRe: Libraries and compiler compatibility Pin
Chris Losinger13-Sep-10 4:11
professionalChris Losinger13-Sep-10 4:11 
AnswerRe: Libraries and compiler compatibility Pin
Aescleal13-Sep-10 6:24
Aescleal13-Sep-10 6:24 
GeneralRe: Libraries and compiler compatibility Pin
Joe Woodbury13-Sep-10 6:38
professionalJoe Woodbury13-Sep-10 6:38 
GeneralRe: Libraries and compiler compatibility Pin
Chris Losinger13-Sep-10 9:15
professionalChris Losinger13-Sep-10 9:15 
GeneralRe: Libraries and compiler compatibility Pin
Aescleal13-Sep-10 11:07
Aescleal13-Sep-10 11:07 
GeneralRe: Libraries and compiler compatibility Pin
Joe Woodbury13-Sep-10 11:26
professionalJoe Woodbury13-Sep-10 11:26 
QuestionProblem with Painting logic Pin
narayanagvs13-Sep-10 0:42
narayanagvs13-Sep-10 0:42 
AnswerRe: Problem with Painting logic Pin
Niklas L13-Sep-10 1:53
Niklas L13-Sep-10 1:53 
QuestionAccess Denied in Local System Account Service Pin
gothic_coder12-Sep-10 21:18
gothic_coder12-Sep-10 21:18 
AnswerRe: Access Denied in Local System Account Service Pin
bob1697213-Sep-10 8:51
bob1697213-Sep-10 8:51 
GeneralRe: Access Denied in Local System Account Service Pin
gothic_coder13-Sep-10 21:17
gothic_coder13-Sep-10 21:17 
GeneralRe: Access Denied in Local System Account Service Pin
bob1697214-Sep-10 3:19
bob1697214-Sep-10 3:19 
GeneralRe: Access Denied in Local System Account Service Pin
gothic_coder14-Sep-10 20:52
gothic_coder14-Sep-10 20:52 
GeneralRe: Access Denied in Local System Account Service Pin
bob1697220-Sep-10 4:59
bob1697220-Sep-10 4:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.