Click here to Skip to main content
15,913,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC Pin
Hamid_RT13-Dec-06 18:12
Hamid_RT13-Dec-06 18:12 
Questionabout MFC Pin
rajaasif12-Dec-06 23:04
rajaasif12-Dec-06 23:04 
AnswerRe: about MFC Pin
Rajesh R Subramanian12-Dec-06 23:18
professionalRajesh R Subramanian12-Dec-06 23:18 
AnswerRe: about MFC Pin
ShilpiP12-Dec-06 23:45
ShilpiP12-Dec-06 23:45 
AnswerRe: about MFC Pin
Hamid_RT13-Dec-06 0:20
Hamid_RT13-Dec-06 0:20 
AnswerRe: about MFC Pin
Maximilien13-Dec-06 3:42
Maximilien13-Dec-06 3:42 
QuestionHow edit the formicon and -text Pin
b43r_3oo312-Dec-06 22:23
b43r_3oo312-Dec-06 22:23 
QuestionHow to Set BackGround colors to a CProperty Sheet Tab Controls [modified] Pin
k. satheesh_1712-Dec-06 22:07
k. satheesh_1712-Dec-06 22:07 
Hi all,
I am trying to set some Background colors to CpropertSheet Tab controls.
I have tried Handling
OnPaint
OnCtlColor
OnEraseackground to acheive it.But none is helping
This is a Samble code which i used in EraseBackground handler
CPropertyPage::OnEraseBkgnd(pDC);
CRect rect;
CTabCtrl *tab = internal_sheet.GetTabControl();
tab->GetItemRect(0,&rect);
pDC->FillSolidRect(&rect, RGB(255, 0, 0));
return true;
This also not working

I am also trying to set the Tap position from the default left side to Right
This ModifyStlye(0,TCS_RIGHT); Positioning the tab in the bottom side.
ans the "TCS_VERTICAL" is not showing other tabs.
Please throw some ideas to acheive this.
Rose | [Rose]



-- modified at 4:19 Wednesday 13th December, 2006
AnswerRe: How to Set BackGround colors to a CProperty Sheet Tab Controls Pin
Mark Salsbery13-Dec-06 6:12
Mark Salsbery13-Dec-06 6:12 
AnswerRe: How to Set BackGround colors to a CProperty Sheet Tab Controls Pin
Hamid_RT13-Dec-06 18:09
Hamid_RT13-Dec-06 18:09 
QuestionA timed loop Pin
aquawicket12-Dec-06 22:05
aquawicket12-Dec-06 22:05 
AnswerRe: A timed loop Pin
namy112-Dec-06 22:15
namy112-Dec-06 22:15 
GeneralRe: A timed loop Pin
aquawicket12-Dec-06 22:19
aquawicket12-Dec-06 22:19 
GeneralRe: A timed loop Pin
aquawicket12-Dec-06 22:52
aquawicket12-Dec-06 22:52 
GeneralRe: A timed loop Pin
CPallini12-Dec-06 23:07
mveCPallini12-Dec-06 23:07 
QuestionRegarding parameter by reference in copy constructor Pin
Karismatic12-Dec-06 22:04
Karismatic12-Dec-06 22:04 
AnswerRe: Regarding parameter by reference in copy constructor [modified] Pin
prasad_som12-Dec-06 22:16
prasad_som12-Dec-06 22:16 
AnswerRe: Regarding parameter by reference in copy constructor Pin
Rajesh R Subramanian12-Dec-06 22:19
professionalRajesh R Subramanian12-Dec-06 22:19 
AnswerRe: Regarding parameter by reference in copy constructor Pin
Mark Salsbery13-Dec-06 6:23
Mark Salsbery13-Dec-06 6:23 
Questionarray of structure Pin
namy112-Dec-06 22:02
namy112-Dec-06 22:02 
AnswerRe: array of structure Pin
CPallini12-Dec-06 23:00
mveCPallini12-Dec-06 23:00 
QuestionRe: array of structure Pin
namy112-Dec-06 23:20
namy112-Dec-06 23:20 
AnswerRe: array of structure Pin
CPallini13-Dec-06 0:36
mveCPallini13-Dec-06 0:36 
AnswerRe: array of structure Pin
James R. Twine13-Dec-06 2:51
James R. Twine13-Dec-06 2:51 
QuestionDo you know this files structure? Pin
Waldermort12-Dec-06 21:26
Waldermort12-Dec-06 21:26 

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.