Click here to Skip to main content
15,899,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question'Should I use <code>using namespace std;</code> in my code?' Pin
Stefan_Lang30-Sep-11 0:49
Stefan_Lang30-Sep-11 0:49 
AnswerRe: 'Should I use using namespace std; in my code?' Pin
Erudite_Eric30-Sep-11 0:56
Erudite_Eric30-Sep-11 0:56 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang2-Oct-11 22:14
Stefan_Lang2-Oct-11 22:14 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Erudite_Eric3-Oct-11 22:00
Erudite_Eric3-Oct-11 22:00 
AnswerRe: 'Should I use using namespace std; in my code?' Pin
Niklas L30-Sep-11 1:13
Niklas L30-Sep-11 1:13 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang30-Sep-11 1:50
Stefan_Lang30-Sep-11 1:50 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Niklas L30-Sep-11 2:28
Niklas L30-Sep-11 2:28 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Albert Holguin30-Sep-11 8:25
professionalAlbert Holguin30-Sep-11 8:25 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
CPallini30-Sep-11 22:13
mveCPallini30-Sep-11 22:13 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang2-Oct-11 22:17
Stefan_Lang2-Oct-11 22:17 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
CPallini2-Oct-11 22:35
mveCPallini2-Oct-11 22:35 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang3-Oct-11 0:42
Stefan_Lang3-Oct-11 0:42 
AnswerRe: 'Should I use using namespace std; in my code?' Pin
Chris Losinger30-Sep-11 7:47
professionalChris Losinger30-Sep-11 7:47 
AnswerRe: 'Should I use using namespace std; in my code?' Pin
Stephen Hewitt30-Sep-11 20:06
Stephen Hewitt30-Sep-11 20:06 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang2-Oct-11 22:20
Stefan_Lang2-Oct-11 22:20 
QuestionPrinting Class Library PrintRotatedText Pin
DanYELL29-Sep-11 16:41
DanYELL29-Sep-11 16:41 
AnswerRe: Printing Class Library PrintRotatedText Pin
Roger Allen30-Sep-11 6:23
Roger Allen30-Sep-11 6:23 
GeneralRe: Printing Class Library PrintRotatedText Pin
DanYELL30-Sep-11 6:35
DanYELL30-Sep-11 6:35 
Questioncall weka classes Pin
salv0329-Sep-11 5:52
salv0329-Sep-11 5:52 
QuestionRe: call weka classes Pin
David Crow29-Sep-11 7:51
David Crow29-Sep-11 7:51 
AnswerRe: call weka classes Pin
Chris Losinger29-Sep-11 9:26
professionalChris Losinger29-Sep-11 9:26 
AnswerRe: WEKA is written in Java, for JAVA not c, and is a collection of Java classes However you can Pin
Software_Developer29-Sep-11 9:51
Software_Developer29-Sep-11 9:51 
QuestionHow to resize Tab Control?? Pin
antonio34328-Sep-11 22:42
antonio34328-Sep-11 22:42 
AnswerRe: How to resize Tab Control?? Pin
TheGreatAndPowerfulOz29-Sep-11 7:51
TheGreatAndPowerfulOz29-Sep-11 7:51 
GeneralRe: How to resize Tab Control?? Pin
antonio34329-Sep-11 12:49
antonio34329-Sep-11 12:49 
Yes I know. This is the method that resize the tabControl
[code]
void CMyTabCtrl::SetRectangle()
{
CRect tabRect, itemRect;
int nX, nY, nXc, nYc;

GetClientRect(&tabRect);
GetItemRect(0, &itemRect);

nX=itemRect.left;
nY=itemRect.bottom+1;
nXc=tabRect.right-itemRect.left-1;
nYc=tabRect.bottom-nY-1;

m_tabPages[0]->SetWindowPos(&wndTop, nX, nY, nXc, nYc, SWP_SHOWWINDOW);
for(int nCount=1; nCount < m_nNumberOfPages; nCount++){
m_tabPages[nCount]->SetWindowPos(&wndTop, nX, nY, nXc, nYc, SWP_HIDEWINDOW);
}


}
[/code]

But I dont know how to get the size of the framework. What parameter I have to change?

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.