Click here to Skip to main content
15,918,624 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListView Pin
jhwurmbach8-Apr-03 0:16
jhwurmbach8-Apr-03 0:16 
Generalcontext mneu question Pin
Jump_Around7-Apr-03 23:50
Jump_Around7-Apr-03 23:50 
GeneralRe: context mneu question Pin
Brian Shifrin8-Apr-03 1:15
Brian Shifrin8-Apr-03 1:15 
GeneralRe: context mneu question Pin
Cedric Moonen8-Apr-03 1:19
Cedric Moonen8-Apr-03 1:19 
QuestionUnzipping? Pin
Brian Delahunty7-Apr-03 23:09
Brian Delahunty7-Apr-03 23:09 
AnswerRe: Unzipping? Pin
jhwurmbach7-Apr-03 23:27
jhwurmbach7-Apr-03 23:27 
GeneralScrollWindow Pin
jeremysay7-Apr-03 23:04
jeremysay7-Apr-03 23:04 
GeneralRe: ScrollWindow Pin
Brian Shifrin8-Apr-03 1:20
Brian Shifrin8-Apr-03 1:20 
GeneralRe: ScrollWindow Pin
jeremysay8-Apr-03 2:06
jeremysay8-Apr-03 2:06 
GeneralRe: ScrollWindow Pin
Brian Shifrin8-Apr-03 13:48
Brian Shifrin8-Apr-03 13:48 
GeneralRe: ScrollWindow Pin
jeremysay9-Apr-03 3:21
jeremysay9-Apr-03 3:21 
GeneralHook problem Pin
_Theo_7-Apr-03 22:24
_Theo_7-Apr-03 22:24 
GeneralBitmap buttons Pin
yashraj7-Apr-03 22:19
yashraj7-Apr-03 22:19 
GeneralRe: Bitmap buttons Pin
Mahesh Varma8-Apr-03 0:41
Mahesh Varma8-Apr-03 0:41 
GeneralRe: Bitmap buttons Pin
yashraj12-Apr-03 0:14
yashraj12-Apr-03 0:14 
GeneralChanging dialog style Pin
Chopper7-Apr-03 22:17
Chopper7-Apr-03 22:17 
GeneralRe: Changing dialog style Pin
Ernesto D.7-Apr-03 23:10
Ernesto D.7-Apr-03 23:10 
GeneralRe: Changing dialog style Pin
Chopper7-Apr-03 23:16
Chopper7-Apr-03 23:16 
GeneralRe: Changing dialog style Pin
Joan M8-Apr-03 0:21
professionalJoan M8-Apr-03 0:21 
GeneralRe: Changing dialog style Pin
Chopper8-Apr-03 1:04
Chopper8-Apr-03 1:04 
GeneralRe: Changing dialog style Pin
Joan M8-Apr-03 3:16
professionalJoan M8-Apr-03 3:16 
GeneralRe: Changing dialog style Pin
Chopper8-Apr-03 3:22
Chopper8-Apr-03 3:22 
GeneralRe: Changing dialog style Pin
Joan M8-Apr-03 3:25
professionalJoan M8-Apr-03 3:25 
GeneralRe: Changing dialog style Pin
Joan M8-Apr-03 3:51
professionalJoan M8-Apr-03 3:51 
I've found it... it's only a function so I won't e-mail you... hare you have it:

void CDialogResDlg::OnSizing(UINT fwSide, LPRECT pRect) 
{
	if (!this->bAllowResizing)
	{
		// Here you should have calculated the dimensions before the change of the condition and make the resizing accordingly to them...
		if (pRect->bottom - pRect->top != 400) pRect->bottom = pRect->top + 400;
		if (pRect->right - pRect->left != 400) pRect->right = pRect->left + 400;
	}

	CDialog::OnSizing(fwSide, pRect);
}


remember to choose the resizing border in the dialog editor properties...

Hope this helps...
GeneralGetting system font Pin
puzzolino7-Apr-03 21:55
puzzolino7-Apr-03 21:55 

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.