[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-dcom
Subject:    OT:  WM_GETMINMAXINFO
From:       Steve Turner <sturner () SYMYX ! COM>
Date:       2003-08-20 18:35:10
[Download RAW message or body]

Hi,

Sorry for the OT...and pleas feel free to let me know if there is a
better place to be posting this message!

I am trying to enforce a minimum dialog size using a handler for the
WM_GETMINMAXINFO event in MFC.  I have (manually) added the handler to
my dialog class:

void CMyDlg::OnGetMinMaxInfo(MINMAXINFO *lpMMI)
{
 lpMMI->ptMinTrackSize = CPoint(MIN_WIDTH, MIN_HEIGHT);
}

The problem is that the values I am setting do not "take".  In other
words, on successive trips through the function above, the values in
lpMMI->ptMinTrackSize retain their original values.  I can see them
change within the function, but when it is re-entered the next time the
values go back to what they had been originally.

Any ideas on what is going on here?


Thanks,



=======
Notice: This e-mail message, together with any attachments, contains
information of Symyx Technologies, Inc. that may be confidential,
proprietary, copyrighted, privileged and/or protected work product,
and is meant solely for the intended recipient. If you are not the
intended recipient, and have received this message in error, please
contact the sender immediately, permanently delete the original and
any copies of this email and any attachments thereto.

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request@DISCUSS.MICROSOFT.COM

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic