Click here to Skip to main content
15,910,411 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CDialog in tab ctrl Pin
josip cagalj27-Jan-10 0:53
josip cagalj27-Jan-10 0:53 
QuestionCan i handle a function when application close from Task Manager? Pin
Le@rner26-Jan-10 20:35
Le@rner26-Jan-10 20:35 
AnswerRe: Can i handle a function when application close from Task Manager? Pin
Cedric Moonen26-Jan-10 20:59
Cedric Moonen26-Jan-10 20:59 
GeneralRe: Can i handle a function when application close from Task Manager? Pin
Le@rner26-Jan-10 21:20
Le@rner26-Jan-10 21:20 
AnswerRe: Can i handle a function when application close from Task Manager? Pin
Rajesh R Subramanian26-Jan-10 23:49
professionalRajesh R Subramanian26-Jan-10 23:49 
AnswerRe: Can i handle a function when application close from Task Manager? Pin
krmed27-Jan-10 0:44
krmed27-Jan-10 0:44 
GeneralRe: Can i handle a function when application close from Task Manager? Pin
Le@rner28-Jan-10 17:06
Le@rner28-Jan-10 17:06 
QuestionCTRL-ALT-2 Pin
john563226-Jan-10 20:32
john563226-Jan-10 20:32 
QuestionExcel automation Pin
MsmVc26-Jan-10 20:11
MsmVc26-Jan-10 20:11 
AnswerRe: Excel automation Pin
«_Superman_»26-Jan-10 20:22
professional«_Superman_»26-Jan-10 20:22 
GeneralRe: Excel automation Pin
MsmVc26-Jan-10 20:53
MsmVc26-Jan-10 20:53 
GeneralRe: Excel automation Pin
MsmVc26-Jan-10 21:24
MsmVc26-Jan-10 21:24 
AnswerRe: Excel automation Pin
David Crow27-Jan-10 4:41
David Crow27-Jan-10 4:41 
GeneralRe: Excel automation Pin
MsmVc27-Jan-10 18:07
MsmVc27-Jan-10 18:07 
QuestionHow to export registry settings safely under Windows 7? Pin
Erik26-Jan-10 20:07
Erik26-Jan-10 20:07 
AnswerRe: How to export registry settings safely under Windows 7? Pin
«_Superman_»26-Jan-10 20:19
professional«_Superman_»26-Jan-10 20:19 
QuestionRe: How to export registry settings safely under Windows 7? Pin
David Crow27-Jan-10 4:43
David Crow27-Jan-10 4:43 
QuestionHow to use java function in C++? Pin
002comp26-Jan-10 19:41
002comp26-Jan-10 19:41 
QuestionRe: How to use java function in C++? Pin
Avi Berger26-Jan-10 19:47
Avi Berger26-Jan-10 19:47 
AnswerRe: How to use java function in C++? Pin
002comp26-Jan-10 21:12
002comp26-Jan-10 21:12 
GeneralRe: How to use java function in C++? Pin
Richard MacCutchan26-Jan-10 22:31
mveRichard MacCutchan26-Jan-10 22:31 
QuestionCMDIChildWnd Caption Not Updated When Child maximized Pin
Anu_Bala26-Jan-10 18:47
Anu_Bala26-Jan-10 18:47 
Hi,
2 days back i posted for change position and size of maximising window.With our forum friends help,i get the solution.But now i face one problem that after maximising the child windows, the caption bar is not updated ,It just display as blue color blank bar.

Any one pls help me to sort out of this problem.
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: 				
			if (::IsWindow(this->m_hWnd)) 
				MoveWindow(40,40,XBorder-50,YBorder-40,TRUE);
						break;
	}
}



When i debug,this OnSize() getting called four times.

Anu

Questionre:What c++ container fits these requirements? Pin
Alan Kurlansky26-Jan-10 17:09
Alan Kurlansky26-Jan-10 17:09 
AnswerRe: re:What c++ container fits these requirements? [modified] Pin
Avi Berger26-Jan-10 18:14
Avi Berger26-Jan-10 18:14 
GeneralRe: re:What c++ container fits these requirements? Pin
Alan Kurlansky27-Jan-10 2:39
Alan Kurlansky27-Jan-10 2:39 

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.