Click here to Skip to main content
15,914,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTransmiting video captured from a webcam to another system through LAN Pin
VCSharp00721-Aug-05 21:33
VCSharp00721-Aug-05 21:33 
Generalfile reading in a specific format Pin
a_david12321-Aug-05 21:04
a_david12321-Aug-05 21:04 
GeneralRe: file reading in a specific format Pin
toxcct21-Aug-05 21:19
toxcct21-Aug-05 21:19 
GeneralRe: file reading in a specific format Pin
Anonymous21-Aug-05 23:34
Anonymous21-Aug-05 23:34 
QuestionIMPLEMENT_DYNAMIC,IMPLEMENT_SERIAL & IMPLEMENT_DYNCREATE macros internals? Pin
ledallam21-Aug-05 20:42
ledallam21-Aug-05 20:42 
GeneralDrag and Drop Button Control Pin
Hachaso21-Aug-05 20:24
Hachaso21-Aug-05 20:24 
GeneralRe: Drag and Drop Button Control Pin
toxcct21-Aug-05 20:45
toxcct21-Aug-05 20:45 
GeneralCTabCtrl issue Pin
Nishad S21-Aug-05 18:52
Nishad S21-Aug-05 18:52 
Hello,

I created a extended TabCtrl from CTabCtrl. Then subclassed it to a CPropertySheet. The problem is after I select any other page in the propertysheet, it will get hanged on activate or deactivate other windows which make my program to do repaint.

If the page has no controls on it, there is no problem.

The creation of propertysheet is as follows:

m_pPropSheet = new CPropSheetEx("",this);
m_pPropSheet->AddPage(&m_page3);
m_pPropSheet->AddPage(&m_page2);
m_pPropSheet->AddPage(&m_page1);

m_pPropSheet->Create(this,WS_CHILD|WS_VISIBLE);

In CPropSheetEx (the derived class), I use the following to subclass the tabctrl:

BOOL CPropSheetEx::OnInitDialog()
{
BOOL bResult = CPropertySheet::OnInitDialog();


CTabCtrl* pTabCtrl = GetTabControl();
m_tabctrl.SubclassWindow(pTabCtrl->GetSafeHwnd());

return bResult;
}

I did override OnPaint() of the CTabCtrl in my derived CTabCtrlEx to draw my special tab styles.

Can anybody help me, please?

Thank you!

GeneralRe: CTabCtrl issue Pin
Jose Lamas Rios21-Aug-05 19:05
Jose Lamas Rios21-Aug-05 19:05 
GeneralRe: CTabCtrl issue Pin
Nishad S21-Aug-05 19:19
Nishad S21-Aug-05 19:19 
GeneralRe: CTabCtrl issue Pin
Nishad S21-Aug-05 19:39
Nishad S21-Aug-05 19:39 
GeneralRe: CTabCtrl issue Pin
Steve Mayfield21-Aug-05 20:00
Steve Mayfield21-Aug-05 20:00 
GeneralRe: CTabCtrl issue Pin
Nishad S21-Aug-05 20:09
Nishad S21-Aug-05 20:09 
GeneralRe: CTabCtrl issue Pin
Jose Lamas Rios22-Aug-05 3:06
Jose Lamas Rios22-Aug-05 3:06 
GeneralVS2005 linking errors. Pin
Christian Graus21-Aug-05 17:57
protectorChristian Graus21-Aug-05 17:57 
GeneralRe: VS2005 linking errors. Pin
Jose Lamas Rios21-Aug-05 18:35
Jose Lamas Rios21-Aug-05 18:35 
GeneralRe: VS2005 linking errors. Pin
Christian Graus21-Aug-05 18:41
protectorChristian Graus21-Aug-05 18:41 
GeneralRe: VS2005 linking errors. Pin
Jose Lamas Rios21-Aug-05 18:51
Jose Lamas Rios21-Aug-05 18:51 
GeneralRe: VS2005 linking errors. Pin
Christian Graus21-Aug-05 19:17
protectorChristian Graus21-Aug-05 19:17 
GeneralNot able to Call one COM Dll inside ATL Service Pin
Prasannajit Dash21-Aug-05 17:53
Prasannajit Dash21-Aug-05 17:53 
GeneralRe: Not able to Call one COM Dll inside ATL Service Pin
Jose Lamas Rios21-Aug-05 18:12
Jose Lamas Rios21-Aug-05 18:12 
GeneralRe: Not able to Call one COM Dll inside ATL Service Pin
Anonymous21-Aug-05 18:28
Anonymous21-Aug-05 18:28 
GeneralRe: Not able to Call one COM Dll inside ATL Service Pin
Jose Lamas Rios21-Aug-05 18:40
Jose Lamas Rios21-Aug-05 18:40 
GeneralRe: Not able to Call one COM Dll inside ATL Service Pin
Prasannajit Dash21-Aug-05 19:16
Prasannajit Dash21-Aug-05 19:16 
GeneralRe: Not able to Call one COM Dll inside ATL Service Pin
Jose Lamas Rios22-Aug-05 5:43
Jose Lamas Rios22-Aug-05 5:43 

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.