Click here to Skip to main content
15,889,595 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhere do u declare m_pSet? Pin
swapna_signsin4-Apr-06 4:48
swapna_signsin4-Apr-06 4:48 
AnswerRe: Where do u declare m_pSet? Pin
toxcct4-Apr-06 4:54
toxcct4-Apr-06 4:54 
GeneralRe: Where do u declare m_pSet? Pin
swapna_signsin4-Apr-06 5:02
swapna_signsin4-Apr-06 5:02 
AnswerRe: Where do u declare m_pSet? Pin
David Crow4-Apr-06 4:57
David Crow4-Apr-06 4:57 
QuestionCSliderCtrl question Pin
Shay Harel4-Apr-06 4:40
Shay Harel4-Apr-06 4:40 
AnswerRe: CSliderCtrl question Pin
David Crow4-Apr-06 4:46
David Crow4-Apr-06 4:46 
GeneralRe: CSliderCtrl question Pin
Shay Harel4-Apr-06 4:49
Shay Harel4-Apr-06 4:49 
Questionmap mode problem Pin
snowheavy4-Apr-06 4:29
snowheavy4-Apr-06 4:29 
I use double buffers to draw a rectangle.I add codes in OnPrepareDC() function:

{ CScrollView::OnPrepareDC(pDC, pInfo);

pDC->SetMapMode(MM_ISOTROPIC);
pDC->SetWindowExt(CSize(100,100));
pDC->SetViewportExt(CSize(300,300));

}
In OnDraw() function,I wrote this:pDC->BitBlt(....,&dcmem,0,0,SRCCOPY);
I found that the rectange became lager and thicker than its original state(In its original state, I wrote pDC->SetViewporOrg(CSize(100,100)) in OnPrepareDC
function )The problem is ,when I changed the mapping mode of Memory DC(memDC),that is,I used this code OnPrePareDC(&dcMem),I found that the rectangle's size got larger but the line width couldn't become larger,what's the diffrence?plz help.




AnswerRe: map mode problem Pin
bob169724-Apr-06 6:34
bob169724-Apr-06 6:34 
Questionmultidimensional arrays, dummy question Pin
9ine4-Apr-06 3:46
9ine4-Apr-06 3:46 
AnswerRe: multidimensional arrays, dummy question Pin
toxcct4-Apr-06 3:49
toxcct4-Apr-06 3:49 
AnswerRe: multidimensional arrays, dummy question Pin
valikac4-Apr-06 6:30
valikac4-Apr-06 6:30 
GeneralRe: multidimensional arrays, dummy question Pin
9ine4-Apr-06 22:58
9ine4-Apr-06 22:58 
QuestionIncrease Height of the Status Bar Pin
RockyJames4-Apr-06 3:23
RockyJames4-Apr-06 3:23 
AnswerRe: Increase Height of the Status Bar Pin
toxcct4-Apr-06 4:19
toxcct4-Apr-06 4:19 
AnswerRe: Increase Height of the Status Bar Pin
ThatsAlok4-Apr-06 6:59
ThatsAlok4-Apr-06 6:59 
QuestionMenus Pin
Aravind Badrinath Krishnan4-Apr-06 3:20
Aravind Badrinath Krishnan4-Apr-06 3:20 
QuestionWaitCommEvent Pin
LCI4-Apr-06 3:08
LCI4-Apr-06 3:08 
AnswerRe: WaitCommEvent Pin
Ștefan-Mihai MOGA4-Apr-06 3:17
professionalȘtefan-Mihai MOGA4-Apr-06 3:17 
GeneralRe: WaitCommEvent Pin
LCI4-Apr-06 6:06
LCI4-Apr-06 6:06 
AnswerRe: WaitCommEvent Pin
YaronNir4-Apr-06 4:06
YaronNir4-Apr-06 4:06 
Questionperformance of C,C++ programs Pin
vikramlinux4-Apr-06 2:54
vikramlinux4-Apr-06 2:54 
AnswerRe: performance of C,C++ programs Pin
toxcct4-Apr-06 3:05
toxcct4-Apr-06 3:05 
GeneralRe: performance of C,C++ programs Pin
vikramlinux4-Apr-06 3:08
vikramlinux4-Apr-06 3:08 
GeneralRe: performance of C,C++ programs Pin
bob169724-Apr-06 3:11
bob169724-Apr-06 3:11 

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.