Click here to Skip to main content
16,005,080 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Further question Pin
redkey_pavel9-Oct-06 23:43
redkey_pavel9-Oct-06 23:43 
GeneralRe: Why is there an error when program CBT hook processes with DAO Pin
redkey_pavel9-Oct-06 17:55
redkey_pavel9-Oct-06 17:55 
QuestionWindow Borders Pin
Waldermort9-Oct-06 3:06
Waldermort9-Oct-06 3:06 
AnswerRe: Window Borders Pin
Galatei9-Oct-06 4:11
Galatei9-Oct-06 4:11 
QuestionHow to transparence the client area in SDI/MDI? Pin
fp20019-Oct-06 3:05
fp20019-Oct-06 3:05 
AnswerRe: How to transparence the client area in SDI/MDI? Pin
fp20019-Oct-06 4:31
fp20019-Oct-06 4:31 
AnswerRe: How to transparence the client area in SDI/MDI? Pin
Mark Salsbery9-Oct-06 7:33
Mark Salsbery9-Oct-06 7:33 
Questioncoloring splitter bar,box etc Pin
radhika289-Oct-06 2:12
radhika289-Oct-06 2:12 
Hi,
I have created a sdi in which the view is divided into three panes.Now i want to color the splitter bar,splitter box,borderetc.For that i have written a function like following in a class derived from CSplitterWnd.

void CMCSplitterWmd::OnDrawSplitter(CDC* pDC,ESplitType nType,const CRect& rect)

{
CBrush brush;
CBrush *ptrBrushOld;
if(pDC == NULL)
{
CSplitterWnd::OnDrawSplitter(pDC, nType, rect);
return;
}
switch(nType)
{
case splitBox:
{
VERIFY(brush.CreateSolidBrush(RGB(128, 255, 0)));
break;
}
case splitBar:
{
VERIFY(brush.CreateSolidBrush(RGB(128, 255, 0)));
break;
}
case splitIntersection:
case splitBorder:
{
CSplitterWnd::OnDrawSplitter(pDC, nType, rect);
return;
}
}
ptrBrushOld=pDC->SelectObject(&brush);
pDC->Rectangle(rect);
pDC->SelectObject(ptrBrushOld);


}
Now my doubt is ,where to call this function in mainframe class.Is this necessary to call this function in mainframe class.

Thanks

QuestionMultithreading and multiple cores Pin
User 5826199-Oct-06 2:09
User 5826199-Oct-06 2:09 
AnswerRe: Multithreading and multiple cores Pin
Galatei9-Oct-06 2:25
Galatei9-Oct-06 2:25 
GeneralRe: Multithreading and multiple cores Pin
User 5826199-Oct-06 2:49
User 5826199-Oct-06 2:49 
QuestionModal DialogBox Pin
baerten9-Oct-06 2:03
baerten9-Oct-06 2:03 
AnswerRe: Modal DialogBox Pin
_AnsHUMAN_ 9-Oct-06 2:09
_AnsHUMAN_ 9-Oct-06 2:09 
GeneralRe: Modal DialogBox Pin
baerten9-Oct-06 2:27
baerten9-Oct-06 2:27 
AnswerRe: Modal DialogBox Pin
toxcct9-Oct-06 2:24
toxcct9-Oct-06 2:24 
Questionzipping files in C++ Pin
m.dietz9-Oct-06 1:38
m.dietz9-Oct-06 1:38 
AnswerRe: zipping files in C++ Pin
Galatei9-Oct-06 1:58
Galatei9-Oct-06 1:58 
GeneralRe: zipping files in C++ Pin
m.dietz9-Oct-06 2:14
m.dietz9-Oct-06 2:14 
AnswerRe: zipping files in C++ Pin
kakan9-Oct-06 2:19
professionalkakan9-Oct-06 2:19 
AnswerRe: zipping files in C++ Pin
jhwurmbach9-Oct-06 2:21
jhwurmbach9-Oct-06 2:21 
AnswerRe: zipping files in C++ Pin
Hamid_RT9-Oct-06 18:58
Hamid_RT9-Oct-06 18:58 
QuestionHICON problem Pin
HakunaMatada9-Oct-06 1:33
HakunaMatada9-Oct-06 1:33 
AnswerRe: HICON problem Pin
Hamid_RT9-Oct-06 1:48
Hamid_RT9-Oct-06 1:48 
GeneralRe: HICON problem Pin
HakunaMatada9-Oct-06 1:56
HakunaMatada9-Oct-06 1:56 
GeneralRe: HICON problem Pin
Hamid_RT9-Oct-06 2:18
Hamid_RT9-Oct-06 2:18 

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.