Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I create a generic pointer? Pin
xonobo13-Jul-07 1:34
xonobo13-Jul-07 1:34 
GeneralRe: How can I create a generic pointer? Pin
jhwurmbach13-Jul-07 1:40
jhwurmbach13-Jul-07 1:40 
GeneralRe: How can I create a generic pointer? Pin
xonobo13-Jul-07 4:19
xonobo13-Jul-07 4:19 
GeneralRe: How can I create a generic pointer? Pin
David Crow13-Jul-07 4:25
David Crow13-Jul-07 4:25 
GeneralRe: How can I create a generic pointer? Pin
Stephen Hewitt15-Jul-07 13:55
Stephen Hewitt15-Jul-07 13:55 
Questionmaximizing window in MFC application Pin
minkowski12-Jul-07 22:18
minkowski12-Jul-07 22:18 
AnswerRe: maximizing window in MFC application Pin
Sam_c12-Jul-07 22:38
Sam_c12-Jul-07 22:38 
GeneralRe: maximizing window in MFC application Pin
minkowski12-Jul-07 23:17
minkowski12-Jul-07 23:17 
Hi ya,

Thanks for your post. I actually found this
<br />
<br />
void CMainFrame::OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI) <br />
{<br />
	// kiran.<br />
	static const CPoint point0 = CPoint(0, 0);<br />
	if(m_PageSize != point0)<br />
	{<br />
		const long my = lpMMI -> ptMaxSize.y;<br />
		const long ty = lpMMI -> ptMaxTrackSize.y;<br />
		lpMMI -> ptMaxSize = m_PageSize;	<br />
		lpMMI -> ptMaxTrackSize = m_PageSize;<br />
		lpMMI -> ptMaxSize.y = my;<br />
		lpMMI -> ptMaxTrackSize.y = ty;<br />
	}<br />
<br />
	CFrameWnd::OnGetMinMaxInfo(lpMMI);<br />
}<br />
<br />


in my code and put a break point on it when I clicked the maximise button. The code then stopped at the break point proving that this function is invoked when using max / min. I guess the structure should contain info whether the user is doing a max / min ?

Thanks
GeneralRe: maximizing window in MFC application Pin
David Crow13-Jul-07 4:29
David Crow13-Jul-07 4:29 
AnswerRe: maximizing window in MFC application Pin
baerten12-Jul-07 23:43
baerten12-Jul-07 23:43 
GeneralRe: maximizing window in MFC application Pin
minkowski13-Jul-07 0:23
minkowski13-Jul-07 0:23 
QuestionIs anybody know any free unicode xml lib/classes? Pin
Peter, Chan12-Jul-07 22:08
Peter, Chan12-Jul-07 22:08 
AnswerRe: Is anybody know any free unicode xml lib/classes? Pin
Stephen Hewitt12-Jul-07 22:15
Stephen Hewitt12-Jul-07 22:15 
AnswerRe: Is anybody know any free unicode xml lib/classes? Pin
jhwurmbach12-Jul-07 22:47
jhwurmbach12-Jul-07 22:47 
AnswerRe: Is anybody know any free unicode xml lib/classes? Pin
Nemanja Trifunovic13-Jul-07 2:23
Nemanja Trifunovic13-Jul-07 2:23 
Questionparallel port related problem Pin
rajbhansingh12-Jul-07 21:26
rajbhansingh12-Jul-07 21:26 
AnswerRe: parallel port related problem Pin
Rage13-Jul-07 1:12
professionalRage13-Jul-07 1:12 
QuestionHow to inherit a MFC class. Pin
chaitannya_m12-Jul-07 20:07
chaitannya_m12-Jul-07 20:07 
AnswerRe: How to inherit a MFC class. Pin
baerten12-Jul-07 21:28
baerten12-Jul-07 21:28 
AnswerRe: How to inherit a MFC class. Pin
sps-itsec4612-Jul-07 22:41
sps-itsec4612-Jul-07 22:41 
GeneralRe: How to inherit a MFC class. Pin
chaitannya_m13-Jul-07 0:07
chaitannya_m13-Jul-07 0:07 
GeneralRe: How to inherit a MFC class. Pin
sps-itsec4613-Jul-07 1:18
sps-itsec4613-Jul-07 1:18 
AnswerRe: How to inherit a MFC class. Pin
Sam_c12-Jul-07 22:47
Sam_c12-Jul-07 22:47 
AnswerRe: How to inherit a MFC class. Pin
jhwurmbach12-Jul-07 23:11
jhwurmbach12-Jul-07 23:11 
QuestionI am getting 'ICaptureGraphBuilder2' : missing storage-class or type specifiers Pin
yaminisridaran12-Jul-07 19:43
yaminisridaran12-Jul-07 19:43 

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.