Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Dialog created in Taskbar Pin
LunaticFringe25-Jan-10 0:35
LunaticFringe25-Jan-10 0:35 
GeneralRe: Dialog created in Taskbar Pin
Anu_Bala25-Jan-10 1:03
Anu_Bala25-Jan-10 1:03 
QuestionX,Y of maximised window Pin
Anu_Bala24-Jan-10 22:30
Anu_Bala24-Jan-10 22:30 
AnswerRe: X,Y of maximised window Pin
CPallini24-Jan-10 23:15
mveCPallini24-Jan-10 23:15 
GeneralRe: X,Y of maximised window Pin
Anu_Bala24-Jan-10 23:33
Anu_Bala24-Jan-10 23:33 
QuestionRe: X,Y of maximised window Pin
Nelek24-Jan-10 23:38
protectorNelek24-Jan-10 23:38 
GeneralRe: X,Y of maximised window Pin
CPallini24-Jan-10 23:38
mveCPallini24-Jan-10 23:38 
GeneralRe: X,Y of maximised window Pin
Anu_Bala24-Jan-10 23:57
Anu_Bala24-Jan-10 23:57 
Yes,
I used that one also.I can get my required window size.But in that maximized window, the title of my child window,system menu,staus bar all are missing.simpla window without caption,without mimnimize,maximize bar is get displayed.When i double click on the bar,then the window comes to previous position with caption and system menu.

I coded like this

void CChildFrame::OnSize(UINT nType, int cx, int cy)
{
	CMDIChildWnd::OnSize(nType, cx, cy);

	int XBorder = GetSystemMetrics(SM_CXMAXIMIZED);
	int YBorder = GetSystemMetrics(SM_CYMAXIMIZED);	
	switch (nType) 
    { 
        case SIZE_MAXIMIZED: 
			MoveWindow(40,60,XBorder-50,YBorder-40,FALSE);		
			break;	

	}
}


Anu

QuestionRe: X,Y of maximised window Pin
CPallini25-Jan-10 0:05
mveCPallini25-Jan-10 0:05 
AnswerRe: X,Y of maximised window Pin
Anu_Bala25-Jan-10 0:45
Anu_Bala25-Jan-10 0:45 
QuestionRe: X,Y of maximised window Pin
CPallini25-Jan-10 1:29
mveCPallini25-Jan-10 1:29 
QuestionAccess to a POP3 mailbox: Windows Messaging and Collaboration Pin
VictorSotnikov24-Jan-10 22:20
VictorSotnikov24-Jan-10 22:20 
AnswerRe: Access to a POP3 mailbox: Windows Messaging and Collaboration Pin
Rozis25-Jan-10 12:10
Rozis25-Jan-10 12:10 
Questioninitialize disk using c++ code Pin
Madan Chauhan24-Jan-10 19:21
Madan Chauhan24-Jan-10 19:21 
QuestionRe: initialize disk using c++ code Pin
Adam Roderick J24-Jan-10 19:36
Adam Roderick J24-Jan-10 19:36 
AnswerRe: initialize disk using c++ code Pin
Madan Chauhan24-Jan-10 19:42
Madan Chauhan24-Jan-10 19:42 
QuestionHow to convert a CString object to char array in VC++ MFC Pin
Member 439977124-Jan-10 19:17
Member 439977124-Jan-10 19:17 
AnswerRe: How to convert a CString object to char array in VC++ MFC [modified] Pin
Adam Roderick J24-Jan-10 19:23
Adam Roderick J24-Jan-10 19:23 
GeneralRe: How to convert a CString object to char array in VC++ MFC Pin
Cedric Moonen24-Jan-10 20:23
Cedric Moonen24-Jan-10 20:23 
GeneralRe: How to convert a CString object to char array in VC++ MFC Pin
Adam Roderick J24-Jan-10 20:59
Adam Roderick J24-Jan-10 20:59 
AnswerRe: How to convert a CString object to char array in VC++ MFC Pin
Joe Woodbury24-Jan-10 19:55
professionalJoe Woodbury24-Jan-10 19:55 
GeneralRe: How to convert a CString object to char array in VC++ MFC Pin
Member 439977124-Jan-10 20:22
Member 439977124-Jan-10 20:22 
GeneralRe: How to convert a CString object to char array in VC++ MFC Pin
Joe Woodbury24-Jan-10 20:35
professionalJoe Woodbury24-Jan-10 20:35 
GeneralRe: How to convert a CString object to char array in VC++ MFC Pin
Member 439977124-Jan-10 21:31
Member 439977124-Jan-10 21:31 
GeneralRe: How to convert a CString object to char array in VC++ MFC Pin
Maya_24-Jan-10 22:28
Maya_24-Jan-10 22:28 

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.