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

C / C++ / MFC

 
QuestionRe: ID_FILE_SAVE lost Pin
David Crow15-Feb-10 3:56
David Crow15-Feb-10 3:56 
AnswerRe: ID_FILE_SAVE lost Pin
CODEPC15-Feb-10 4:06
CODEPC15-Feb-10 4:06 
AnswerRe: ID_FILE_SAVE lost Pin
«_Superman_»15-Feb-10 4:02
professional«_Superman_»15-Feb-10 4:02 
GeneralRe: ID_FILE_SAVE lost [modified] Pin
CODEPC15-Feb-10 4:07
CODEPC15-Feb-10 4:07 
GeneralRe: ID_FILE_SAVE lost Pin
«_Superman_»15-Feb-10 17:27
professional«_Superman_»15-Feb-10 17:27 
Questioncompact database Pin
kk.tvm15-Feb-10 1:15
kk.tvm15-Feb-10 1:15 
AnswerRe: compact database Pin
CPallini15-Feb-10 1:38
mveCPallini15-Feb-10 1:38 
Questionconguring a special style for CMFCOutlookBarTabCtrl class Pin
A&Ms14-Feb-10 23:42
A&Ms14-Feb-10 23:42 
Hi, The OutlookDemo Sample of MFC new Feature pack implements a very good style of CMFCOutlookBarTabCtrl class that when you configure the gui to look in office 2003 and office XP modes the tabs of the CMFCOutlookbar Open and go upward by clicking on them but I couldn't found what to do reach this style of tabs through the sample source code. if any one knows the answer I will be thankful if he could modify my below code so i could reach that style.
m_wndOutlookBar.SetMode2003(true);

//outlookbar Creation
m_wndOutlookBar.Create(_T("test"), this, CRect (50, 50, 500, 500), ID_VIEW_OUTLOOKBAR, WS_CHILD | WS_VISIBLE | CBRS_LEFT);
		

//pane Number 1
m_wndOutlookPane1.Create (&m_wndOutlookBar, 
	AFX_DEFAULT_TOOLBAR_STYLE, ID_OUTLOOK_PANE_GENERAL, AFX_CBRS_FLOAT | AFX_CBRS_RESIZE);

// make the Outlook pane detachable (enable docking)
m_wndOutlookPane1.EnableDocking (CBRS_ALIGN_ANY);
// add buttons
m_wndOutlookPane1.AddButton (theApp.LoadIcon (IDR_MAINFRAME), L"Open", ID_APP_ABOUT);

//pane Number 2
m_wndOutlookPane2.Create (&m_wndOutlookBar, 
	AFX_DEFAULT_TOOLBAR_STYLE, ID_OUTLOOK_PANE_SPECIAL, AFX_CBRS_FLOAT | AFX_CBRS_RESIZE);

// make the Outlook pane detachable (enable docking)
m_wndOutlookPane2.EnableDocking (CBRS_ALIGN_ANY);
	

CMFCOutlookBarTabCtrl::EnableAnimation(TRUE);


	
CMFCOutlookBarTabCtrl* pOutlookBar = 
	(CMFCOutlookBarTabCtrl*) m_wndOutlookBar.GetUnderlyingWindow ();

pOutlookBar->EnableInPlaceEdit(TRUE);
pOutlookBar->EnableAnimation(true);
pOutlookBar->EnableScrollButtons();
pOutlookBar->EnableTabSwap(true);
	
(CMFCBaseTabCtrl*)pOutlookBar->EnableTabDetach(0,true);


pOutlookBar->AddTab (&m_wndOutlookPane1, L"General", (UINT) -1, TRUE);
pOutlookBar->AddTab (&m_wndOutlookPane2, L"Special", (UINT) -1, TRUE); 

AnswerRe: conguring a special style for CMFCOutlookBarTabCtrl class Pin
A&Ms15-Feb-10 10:06
A&Ms15-Feb-10 10:06 
QuestionUnstable Thread runs! Pin
mostafa_pasha14-Feb-10 22:38
mostafa_pasha14-Feb-10 22:38 
AnswerRe: Unstable Thread runs! Pin
Rajesh R Subramanian14-Feb-10 22:43
professionalRajesh R Subramanian14-Feb-10 22:43 
GeneralRe: Unstable Thread runs! Pin
mostafa_pasha15-Feb-10 3:59
mostafa_pasha15-Feb-10 3:59 
GeneralRe: Unstable Thread runs! Pin
Rajesh R Subramanian15-Feb-10 6:38
professionalRajesh R Subramanian15-Feb-10 6:38 
GeneralRe: Unstable Thread runs! Pin
mostafa_pasha15-Feb-10 10:16
mostafa_pasha15-Feb-10 10:16 
AnswerRe: Unstable Thread runs! Pin
Rajesh R Subramanian15-Feb-10 17:03
professionalRajesh R Subramanian15-Feb-10 17:03 
QuestionCoUninitialize in ExitInstance hangs Pin
VictorSotnikov14-Feb-10 22:28
VictorSotnikov14-Feb-10 22:28 
AnswerRe: CoUninitialize in ExitInstance hangs Pin
CPallini14-Feb-10 22:37
mveCPallini14-Feb-10 22:37 
GeneralRe: CoUninitialize in ExitInstance hangs Pin
VictorSotnikov15-Feb-10 0:09
VictorSotnikov15-Feb-10 0:09 
QuestionDisplay Huge Size file content in dialog Pin
Prabhu09200914-Feb-10 22:20
Prabhu09200914-Feb-10 22:20 
AnswerRe: Display Huge Size file content in dialog Pin
«_Superman_»14-Feb-10 22:25
professional«_Superman_»14-Feb-10 22:25 
GeneralRe: Display Huge Size file content in dialog Pin
Prabhu09200914-Feb-10 22:37
Prabhu09200914-Feb-10 22:37 
GeneralRe: Display Huge Size file content in dialog Pin
«_Superman_»14-Feb-10 22:48
professional«_Superman_»14-Feb-10 22:48 
NewsRe: Display Huge Size file content in dialog Pin
Prabhu09200915-Feb-10 0:48
Prabhu09200915-Feb-10 0:48 
GeneralRe: Display Huge Size file content in dialog Pin
Maximilien15-Feb-10 1:28
Maximilien15-Feb-10 1:28 
GeneralRe: Display Huge Size file content in dialog Pin
Rajesh R Subramanian15-Feb-10 1:41
professionalRajesh R Subramanian15-Feb-10 1:41 

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.