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

C / C++ / MFC

 
GeneralRe: Need help on listbox functions Pin
coda_x29-Aug-03 15:21
coda_x29-Aug-03 15:21 
GeneralRe: Need help on listbox functions Pin
Michael Dunn29-Aug-03 15:40
sitebuilderMichael Dunn29-Aug-03 15:40 
GeneralRe: Need help on listbox functions Pin
coda_x29-Aug-03 15:57
coda_x29-Aug-03 15:57 
GeneralRe: Need help on listbox functions Pin
l a u r e n29-Aug-03 18:24
l a u r e n29-Aug-03 18:24 
GeneralRe: Need help on listbox functions Pin
Larry J. Siddens30-Aug-03 3:26
Larry J. Siddens30-Aug-03 3:26 
QuestionDoes MFC ship with IE or Windows? Pin
Shutter29-Aug-03 14:17
Shutter29-Aug-03 14:17 
AnswerRe: Does MFC ship with IE or Windows? Pin
Joe Woodbury29-Aug-03 18:49
professionalJoe Woodbury29-Aug-03 18:49 
GeneralProblem with a property sheet Pin
Artem Moroz29-Aug-03 12:55
Artem Moroz29-Aug-03 12:55 
I have a problem with a property sheet

I am creating property sheet insde a dialog this way:
<br />
BOOL CMyDlg::OnInitDialog() <br />
{<br />
	CDialog::OnInitDialog();<br />
	<br />
	m_propsheet.Create(this, WS_CHILD | WS_VISIBLE, 0);<br />
	m_propsheet.ModifyStyleEx (0, WS_EX_CONTROLPARENT);<br />
	m_propsheet.ModifyStyle(0, WS_TABSTOP);<br />
<br />
	m_propsheet.GetTabControl()->ModifyStyle(TCS_MULTILINE,0);<br />
<br />
	CRect rcSheet;<br />
	GetDlgItem(IDC_PROPSHEET)->GetWindowRect( &rcSheet );<br />
	ScreenToClient( &rcSheet );<br />
	m_propsheet.SetWindowPos( NULL, rcSheet.left-7, rcSheet.top-7, 0, 0, <br />
			SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE );<br />
.<br />
.<br />
.<br />
}<br />


In this code I tried to change the style of tab control inside a property sheet,
so it would display one row of tabs. It works, but the size of property sheet retains bigger,
just like with two rows of tabs,

How to fix this ?
GeneralWin32 api Pin
HeiniBlad29-Aug-03 9:07
HeiniBlad29-Aug-03 9:07 
GeneralRe: Win32 api Pin
John M. Drescher29-Aug-03 9:43
John M. Drescher29-Aug-03 9:43 
GeneralRe: Win32 api Pin
Ravi Bhavnani29-Aug-03 10:00
professionalRavi Bhavnani29-Aug-03 10:00 
GeneralRe: Win32 api Pin
Rickard Andersson2029-Aug-03 12:50
Rickard Andersson2029-Aug-03 12:50 
GeneralRe: Win32 api Pin
Ravi Bhavnani29-Aug-03 12:55
professionalRavi Bhavnani29-Aug-03 12:55 
GeneralRe: Win32 api Pin
John M. Drescher29-Aug-03 13:32
John M. Drescher29-Aug-03 13:32 
GeneralRe: Win32 api Pin
Joe Woodbury29-Aug-03 19:05
professionalJoe Woodbury29-Aug-03 19:05 
GeneralRe: Win32 api Pin
Michael Dunn29-Aug-03 19:11
sitebuilderMichael Dunn29-Aug-03 19:11 
GeneralConfused With Splitters and Views Pin
rjahrman29-Aug-03 8:11
rjahrman29-Aug-03 8:11 
GeneralRe: Confused With Splitters and Views Pin
Larry J. Siddens29-Aug-03 10:14
Larry J. Siddens29-Aug-03 10:14 
GeneralRe: Confused With Splitters and Views Pin
rjahrman29-Aug-03 15:12
rjahrman29-Aug-03 15:12 
GeneralRe: Confused With Splitters and Views Pin
Larry J. Siddens30-Aug-03 3:24
Larry J. Siddens30-Aug-03 3:24 
GeneralDialog question Pin
rpadrela29-Aug-03 7:13
rpadrela29-Aug-03 7:13 
GeneralRe: Dialog question Pin
Alexander M.,29-Aug-03 8:56
Alexander M.,29-Aug-03 8:56 
GeneralRe: Dialog question Pin
rpadrela29-Aug-03 10:40
rpadrela29-Aug-03 10:40 
GeneralRe: Dialog question Pin
rpadrela29-Aug-03 11:16
rpadrela29-Aug-03 11:16 
GeneralRe: Dialog question Pin
John M. Drescher29-Aug-03 11:51
John M. Drescher29-Aug-03 11:51 

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.