문제

i can not use CSplitbutton in MFC dialog based application it gives declaration error. i include afxwin.h but giving same problem.

please help i am in deadlock.

도움이 되었습니까?

해결책

Please enable Unicode setting in your project.
CSplitbutton has unicode dependency.
as given below

#if (_WIN32_WINNT >= 0x600) && defined(UNICODE)
  class CSplitButton : public CButton 

as per above code your version required vista + and enable unicode setting.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top