Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAbout Float Point Exception Pin
HansonDavid29-Aug-03 20:52
HansonDavid29-Aug-03 20:52 
GeneralPROJECTS Pin
Neelesh K J Jain29-Aug-03 18:49
Neelesh K J Jain29-Aug-03 18:49 
GeneralRe: PROJECTS Pin
TigerNinja_29-Aug-03 18:54
TigerNinja_29-Aug-03 18:54 
GeneralWinAPI FindNextFile problem Pin
TigerNinja_29-Aug-03 18:36
TigerNinja_29-Aug-03 18:36 
GeneralRe: WinAPI FindNextFile problem Pin
Michael Dunn29-Aug-03 19:08
sitebuilderMichael Dunn29-Aug-03 19:08 
GeneralRe: WinAPI FindNextFile problem Pin
TigerNinja_29-Aug-03 19:27
TigerNinja_29-Aug-03 19:27 
GeneralRe: WinAPI FindNextFile problem Pin
TigerNinja_29-Aug-03 19:23
TigerNinja_29-Aug-03 19:23 
GeneralSolution of your IT/Computer science Problems Pin
mindnets29-Aug-03 17:44
mindnets29-Aug-03 17:44 
GeneralRe: Solution of your IT/Computer science Problems Pin
Taka Muraoka29-Aug-03 18:04
Taka Muraoka29-Aug-03 18:04 
GeneralRe: Solution of your IT/Computer science Problems Pin
l a u r e n29-Aug-03 18:19
l a u r e n29-Aug-03 18:19 
GeneralRe: Solution of your IT/Computer science Problems Pin
Ryan Binns29-Aug-03 22:13
Ryan Binns29-Aug-03 22:13 
GeneralNeed help on listbox functions Pin
coda_x29-Aug-03 14:39
coda_x29-Aug-03 14:39 
GeneralRe: Need help on listbox functions Pin
Larry J. Siddens29-Aug-03 15:00
Larry J. Siddens29-Aug-03 15:00 
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 

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.