Click here to Skip to main content
16,011,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Jihad! GetBuffer/ReleaseBuffer considered Evil Pin
Sven Axelsson25-Jan-01 3:23
Sven Axelsson25-Jan-01 3:23 
GeneralRe: Jihad! GetBuffer/ReleaseBuffer considered Evil Pin
Erik Funkenbusch25-Jan-01 11:55
Erik Funkenbusch25-Jan-01 11:55 
QuestionHow to remove Console App's button from Taskbar? Pin
16-Jan-01 14:24
suss16-Jan-01 14:24 
QuestionWhy does New Class dialog not allow custom classes? Pin
16-Jan-01 14:18
suss16-Jan-01 14:18 
AnswerRe: Why does New Class dialog not allow custom classes? Pin
Christian Graus16-Jan-01 16:22
protectorChristian Graus16-Jan-01 16:22 
GeneralResizeing View programatically... Pin
16-Jan-01 8:45
suss16-Jan-01 8:45 
GeneralRe: Resizeing View programatically... Pin
Christian Graus16-Jan-01 9:12
protectorChristian Graus16-Jan-01 9:12 
GeneralRe: Resizeing View programatically... Pin
16-Jan-01 10:44
suss16-Jan-01 10:44 
Dear Christian,

Thanks alot for reply! Smile | :)

The following is still a problem:

void CSizeView::OnInitialUpdate() 
{
	CView::OnInitialUpdate();
	
	CREATESTRUCT cs;

	CSizeDlg sizedlg;
	
	int result = sizedlg.DoModal();
	
	if(result == IDOK){

	cs.cx = sizedlg.m_Height;
	cs.cy = sizedlg.m_Width;
		
	MoveWindow(0, 0, cs.cy, cs.cx);
	
	}
	
}


the desired sizes using the radio buttons are: 768x1024, 200x320, 480x640 & 600x800 or a custom option, which exist on the dialog and can be selected by the user when selected the new document from menu!

Another problem is when the view is resized, it again gets back to the default size as normal startup!

Thankx again! Big Grin | :-D
GeneralRe: Resizeing View programatically... Pin
Christian Graus16-Jan-01 11:37
protectorChristian Graus16-Jan-01 11:37 
GeneralRe: Resizeing View programatically... Pin
16-Jan-01 12:09
suss16-Jan-01 12:09 
GeneralRe: Resizeing View programatically... Pin
Christian Graus16-Jan-01 18:21
protectorChristian Graus16-Jan-01 18:21 
GeneralRe: Resizeing View programatically... Pin
16-Jan-01 23:37
suss16-Jan-01 23:37 
GeneralCPropertyPage in Wizard Mode does not call OnKillActive() Pin
16-Jan-01 5:30
suss16-Jan-01 5:30 
GeneralRe: CPropertyPage in Wizard Mode does not call OnKillActive() Pin
16-Jan-01 18:02
suss16-Jan-01 18:02 
GeneralRe: CPropertyPage in Wizard Mode does not call OnKillActive() Pin
16-Jan-01 22:20
suss16-Jan-01 22:20 
GeneralMenu handle Pin
subir talukder16-Jan-01 4:13
subir talukder16-Jan-01 4:13 
GeneralRe: Menu handle Pin
Michael Dunn16-Jan-01 8:35
sitebuilderMichael Dunn16-Jan-01 8:35 
GeneralRemove caption from toolbar Pin
Christian Graus15-Jan-01 12:42
protectorChristian Graus15-Jan-01 12:42 
GeneralRe: Remove caption from toolbar Pin
17-Jan-01 23:09
suss17-Jan-01 23:09 
GeneralRemove caption from toolbar Pin
Christian Graus15-Jan-01 12:42
protectorChristian Graus15-Jan-01 12:42 
GeneralRe: Remove caption from toolbar Pin
Masoud Samimi21-Jan-01 12:05
Masoud Samimi21-Jan-01 12:05 
GeneralRe: Remove caption from toolbar Pin
Christian Graus21-Jan-01 12:16
protectorChristian Graus21-Jan-01 12:16 
GeneralRe: Remove caption from toolbar Pin
Masoud Samimi21-Jan-01 23:15
Masoud Samimi21-Jan-01 23:15 
QuestionHow to get the ID's of controls that are in wizards or system designed dialogs? Pin
Joan M15-Jan-01 12:08
professionalJoan M15-Jan-01 12:08 
AnswerRe: How to get the ID's of controls that are in wizards or system designed dialogs? Pin
Michael Dunn16-Jan-01 8:38
sitebuilderMichael Dunn16-Jan-01 8:38 

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.