Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ -- Minimize all windows within MDI Pin
blueflame21313-Jul-09 10:36
blueflame21313-Jul-09 10:36 
GeneralRe: VC++ -- Minimize all windows within MDI Pin
David Crow13-Jul-09 10:40
David Crow13-Jul-09 10:40 
Questionneed help on Bmp to jpeg conversion Pin
umangv213-Jul-09 7:31
umangv213-Jul-09 7:31 
AnswerRe: need help on Bmp to jpeg conversion Pin
Rozis13-Jul-09 13:58
Rozis13-Jul-09 13:58 
AnswerRe: need help on Bmp to jpeg conversion Pin
kilt15-Jul-09 5:40
kilt15-Jul-09 5:40 
QuestionMoveWindow() causing crash on closing maximized child window with listbox Pin
Sharath C V13-Jul-09 6:47
professionalSharath C V13-Jul-09 6:47 
QuestionRe: MoveWindow() causing crash on closing maximized child window with listbox Pin
«_Superman_»13-Jul-09 17:19
professional«_Superman_»13-Jul-09 17:19 
AnswerRe: MoveWindow() causing crash on closing maximized child window with listbox Pin
Sharath C V13-Jul-09 18:10
professionalSharath C V13-Jul-09 18:10 
Hi Superman,

Thanks very much for your reply.

Sorry for missing out that detail. MoveWindow() is called on WM_SIZE of child window in winproc of the child window which has the list view in it.

case WM_SIZE:
		// Redraw controls
		RECT rect;
		GetClientRect(hWnd, &rect); // gets childwindow client area

		MoveWindow(m_hwndListView, //Handle to the window. 
					0, // [in] Specifies the new position of the left side of the window. 
					0, // [in] Specifies the new position of the top of the window. 
					rect.right,	// Specifies the new width of the window.
					rect.bottom,// Specifies the new height of the window. 
					true); // Boolean that specifies whether the window is to be repainted. 
		break; //Do not return since this should be processed by DefMDIChildProc

GeneralRe: MoveWindow() causing crash on closing maximized child window with listbox Pin
«_Superman_»13-Jul-09 18:13
professional«_Superman_»13-Jul-09 18:13 
QuestionRe: MoveWindow() causing crash on closing maximized child window with listbox Pin
Sharath C V13-Jul-09 18:22
professionalSharath C V13-Jul-09 18:22 
AnswerRe: MoveWindow() causing crash on closing maximized child window with listbox Pin
«_Superman_»13-Jul-09 18:31
professional«_Superman_»13-Jul-09 18:31 
GeneralRe: MoveWindow() causing crash on closing maximized child window with listbox Pin
Sharath C V13-Jul-09 18:44
professionalSharath C V13-Jul-09 18:44 
AnswerRe: MoveWindow() causing crash on closing maximized child window with listbox Pin
Sharath C V13-Jul-09 20:24
professionalSharath C V13-Jul-09 20:24 
QuestionImprove the program Pin
CSawant13-Jul-09 5:53
CSawant13-Jul-09 5:53 
QuestionRe: Improve the program Pin
David Crow13-Jul-09 6:15
David Crow13-Jul-09 6:15 
AnswerI will not do what you ask. Pin
Maximilien13-Jul-09 6:19
Maximilien13-Jul-09 6:19 
QuestionOpenGL window creation within a DLL - Possible threading problem Pin
Dustin Henry13-Jul-09 4:44
Dustin Henry13-Jul-09 4:44 
QuestionHow to create and maintain HTML file? Pin
fujoey13-Jul-09 4:35
fujoey13-Jul-09 4:35 
AnswerRe: How to create and maintain HTML file? Pin
khb13-Jul-09 4:44
khb13-Jul-09 4:44 
QuestionBest way to convert text to a picture Pin
1scouser13-Jul-09 4:19
1scouser13-Jul-09 4:19 
AnswerRe: Best way to convert text to a picture Pin
Maximilien13-Jul-09 4:27
Maximilien13-Jul-09 4:27 
GeneralRe: Best way to convert text to a picture Pin
1scouser13-Jul-09 4:36
1scouser13-Jul-09 4:36 
GeneralRe: Best way to convert text to a picture Pin
Cedric Moonen13-Jul-09 4:48
Cedric Moonen13-Jul-09 4:48 
GeneralRe: Best way to convert text to a picture Pin
1scouser13-Jul-09 5:15
1scouser13-Jul-09 5:15 
GeneralRe: Best way to convert text to a picture Pin
Caslen13-Jul-09 6:22
Caslen13-Jul-09 6:22 

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.