|
-
April 9th, 1999, 09:33 AM
#1
ctabCtrl & multiline
hello,
if you have a solution to my problem, my email :
[email protected]
I don't know how customize the number of tabs into a multiline in cDialog window ?
And, thus do like a carriage control on the end of each line !!!!
Now, I use a string table for each title :
BOOL CAdmDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Tab labels
Label.LoadString(IDS_STR_TAB_TITLE1);
tcItem.pszText = Label.GetBuffer(0);
m_TabControl.InsertItem(TAB_TITLE1, &tcItem);
Label.LoadString(IDS_STR_TAB_TITLE2);
tcItem.pszText = Label.GetBuffer(0);
m_TabControl.InsertItem(TAB_TITLE2, &tcItem);
Label.LoadString(IDS_STR_TAB_TITLE3);
tcItem.pszText = Label.GetBuffer(0);
m_TabControl.InsertItem(TAB_TITLE3, &tcItem);
...
}
For example :
2 tabs in line 1
4 tabs in line 2
and 1 tab in line 3
-----------------------------
|....title1...|....title2...|
-----------------------------
|title1|title2|title3|title4|
-----------------------------
|..........title5...........|
-----------------------------
|...........................|
|...........................|
|...........................|
|...........................|
|...........................|
|...........................|
|...........................|
|...........................|
|...........................|
|...........................|
|...........................|
|...........................|
-----------------------------
thinks for your answer
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|