Click here to Skip to main content
15,884,080 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: change mouse pointer for MainFram and dialog in MDI applicaion Pin
ptr_Electron2-Jun-09 21:17
ptr_Electron2-Jun-09 21:17 
GeneralRe: change mouse pointer for MainFram and dialog in MDI applicaion Pin
Chandrasekharan P2-Jun-09 22:04
Chandrasekharan P2-Jun-09 22:04 
GeneralRe: change mouse pointer for MainFram and dialog in MDI applicaion Pin
ptr_Electron2-Jun-09 22:23
ptr_Electron2-Jun-09 22:23 
GeneralRe: change mouse pointer for MainFram and dialog in MDI applicaion Pin
Chandrasekharan P3-Jun-09 1:11
Chandrasekharan P3-Jun-09 1:11 
GeneralRe: change mouse pointer for MainFram and dialog in MDI applicaion [modified] Pin
ptr_Electron3-Jun-09 2:55
ptr_Electron3-Jun-09 2:55 
GeneralRe: change mouse pointer for MainFram and dialog in MDI applicaion Pin
ptr_Electron4-Jun-09 1:00
ptr_Electron4-Jun-09 1:00 
GeneralRe: change mouse pointer for MainFram and dialog in MDI applicaion Pin
gabbasb211-Aug-09 4:41
gabbasb211-Aug-09 4:41 
QuestionCPropertyView Problems Compiling Pin
wdolson1-Jun-09 17:52
wdolson1-Jun-09 17:52 
I have a project in which I was using a view using a CTabCtrl. I ran into some issues turning tabs on and off and my searching led me to the CPropertyView described here: Property Sheet View[^]

I am writing here because the article is old and probably not being maintained. The original was written for VC 6. I have compiled the demo projects just fine under both VC 6 and VC 2005.

When I included CPropertyView in my project and attempted to compile, I got three errors which are real head scratchers. In my class derived from CPropertyView, I get the following errors:

C2248: 'CPropertyView::GetThisMessageMap' : cannot access protected member declared in class 'CPropertyView'

C2352: 'CPropertyView::AssertValid' : illegal call of non-static member function
C2352: 'CPropertyView::Dump' : illegal call of non-static member function

The C2248 error comes up with the END_MESSAGE_MAP() macro. I tried commenting out everything in the message map and I still got the error.

I have carefully checked the syntax and AssertValid and Dump are declared and called identically in this class as in all others. There is a slight variation between VC6 and VC2005 in that VC2005 has an extra #ifdef for Windows CE, but the error happens whether the ifdef is there or not.

I found a Microsoft Knowledge Base article (Q243351) that talks about the C2248 error happening when the /Za flag is used in the compiler, but I'm not using that flag.

I'm sure the answer is something simple, but I've run into a brick wall.

Bill
AnswerRe: CPropertyView Problems Compiling Pin
Stuart Dootson2-Jun-09 2:06
professionalStuart Dootson2-Jun-09 2:06 
GeneralRe: CPropertyView Problems Compiling Pin
wdolson2-Jun-09 21:29
wdolson2-Jun-09 21:29 
GeneralRe: CPropertyView Problems Compiling Pin
Stuart Dootson2-Jun-09 21:39
professionalStuart Dootson2-Jun-09 21:39 
GeneralRe: CPropertyView Problems Compiling Pin
wdolson2-Jun-09 22:03
wdolson2-Jun-09 22:03 
QuestionHi Help me write this program (tuan1111) Pin
tuan11111-Jun-09 17:37
tuan11111-Jun-09 17:37 
QuestionCreating Threads using Class Object functions Pin
jobin0070071-Jun-09 15:38
jobin0070071-Jun-09 15:38 
AnswerRe: Creating Threads using Class Object functions Pin
David Crow1-Jun-09 17:04
David Crow1-Jun-09 17:04 
GeneralRe: Creating Threads using Class Object functions Pin
jobin0070071-Jun-09 17:30
jobin0070071-Jun-09 17:30 
GeneralRe: Creating Threads using Class Object functions Pin
David Crow2-Jun-09 2:30
David Crow2-Jun-09 2:30 
GeneralRe: Creating Threads using Class Object functions Pin
norish2-Jun-09 2:09
norish2-Jun-09 2:09 
NewsRe: Creating Threads using Class Object functions Pin
norish2-Jun-09 2:12
norish2-Jun-09 2:12 
AnswerRe: Creating Threads using Class Object functions Pin
Stuart Dootson2-Jun-09 2:25
professionalStuart Dootson2-Jun-09 2:25 
GeneralRe: Creating Threads using Class Object functions Pin
jobin0070072-Jun-09 4:27
jobin0070072-Jun-09 4:27 
GeneralRe: Creating Threads using Class Object functions Pin
Stuart Dootson2-Jun-09 5:13
professionalStuart Dootson2-Jun-09 5:13 
GeneralRe: Creating Threads using Class Object functions Pin
jobin0070072-Jun-09 12:17
jobin0070072-Jun-09 12:17 
GeneralRe: Creating Threads using Class Object functions Pin
Stuart Dootson2-Jun-09 12:30
professionalStuart Dootson2-Jun-09 12:30 
GeneralRe: Creating Threads using Class Object functions Pin
jobin0070072-Jun-09 4:33
jobin0070072-Jun-09 4:33 

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.