TAB CONTROL
-
HI I WANT TO KNOW ABT TAB CONTROL. I READ IN MSDN BUT IN THAT THEY CREATE TABCONTROL WITH CREATE STATEMENT BUT I USE IT FROM CONTROLS AND NOW I WANT TO USE THIS BUT IT SHOW NO TAB ONIT .HOW TO USE TAB CONTROL THANKS Ashish Dogra MCA Noida
-
HI I WANT TO KNOW ABT TAB CONTROL. I READ IN MSDN BUT IN THAT THEY CREATE TABCONTROL WITH CREATE STATEMENT BUT I USE IT FROM CONTROLS AND NOW I WANT TO USE THIS BUT IT SHOW NO TAB ONIT .HOW TO USE TAB CONTROL THANKS Ashish Dogra MCA Noida
as i use three tabs now when i click on one color changed where i put code for this or what function i have to use Ashish Dogra MCA Noida
-
HI I WANT TO KNOW ABT TAB CONTROL. I READ IN MSDN BUT IN THAT THEY CREATE TABCONTROL WITH CREATE STATEMENT BUT I USE IT FROM CONTROLS AND NOW I WANT TO USE THIS BUT IT SHOW NO TAB ONIT .HOW TO USE TAB CONTROL THANKS Ashish Dogra MCA Noida
What do you need and what do you want?_**
**_
whitesky
-
What do you need and what do you want?_**
**_
whitesky
i use tab control and now when i click on one tab it change color to red if i click on second tab itm give color blue now i made tabs by doing coding in oninitdialog function now in which function i need to change color i use foolowing code m_tab.InsertItem(0,"BLACKRECT"); m_tab.InsertItem(1,"GRAY"); m_tab.InsertItem(2,"WHITERECT"); m_tab.SetCurSel(1); Ashish Dogra MCA Noida
-
i use tab control and now when i click on one tab it change color to red if i click on second tab itm give color blue now i made tabs by doing coding in oninitdialog function now in which function i need to change color i use foolowing code m_tab.InsertItem(0,"BLACKRECT"); m_tab.InsertItem(1,"GRAY"); m_tab.InsertItem(2,"WHITERECT"); m_tab.SetCurSel(1); Ashish Dogra MCA Noida
Are you using derived class?_**
**_
whitesky
-
Are you using derived class?_**
**_
whitesky
no iam not using derived class i am using cmydlg class . Ashish Dogra MCA Noida
-
no iam not using derived class i am using cmydlg class . Ashish Dogra MCA Noida
-
as i use three tabs now when i click on one color changed where i put code for this or what function i have to use Ashish Dogra MCA Noida
as i use three tabs now when i click on one color changed where i put code for this or what function i have to use If you want to change the color handle the OnSelChange message handler void Ctabeg::OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult) { // TODO: Add your control notification handler code here *pResult = 0; } -- modified at 7:06 Tuesday 18th July, 2006
-
:sigh::zzz::->:~ :confused: Ashish Dogra MCA Noida
-
i use tab control and now when i click on one tab it change color to red if i click on second tab itm give color blue now i made tabs by doing coding in oninitdialog function now in which function i need to change color i use foolowing code m_tab.InsertItem(0,"BLACKRECT"); m_tab.InsertItem(1,"GRAY"); m_tab.InsertItem(2,"WHITERECT"); m_tab.SetCurSel(1); Ashish Dogra MCA Noida
Why would you think that calling the
InsertItem()
method would have any effect on the control's color? :rolleyes:
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb