Click here to Skip to main content
15,884,353 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: VC++ -- Minimize all windows within MDI Pin
blueflame21313-Jul-09 9:42
blueflame21313-Jul-09 9:42 
GeneralRe: VC++ -- Minimize all windows within MDI Pin
David Crow13-Jul-09 9:52
David Crow13-Jul-09 9:52 
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 
I have a listview within an MDI child window. There is another child window with tree control also in the MDI application.

Steps to replicate the problem:
First I open the child window with tree control, leave it as it is in non-maximized state.
Then I open the second child window which has the list view.
Maximize the child window which has listview.
Close the listview from maximized state.
Application crashes.


I have cornered it to a MoveWindow() call, but could not go any further, is this a known problem with listview, is there any specfic tweaking that needs to be done? It causes the crash irrespective of data filled in the listview!

Environment:
OS- XP SP3
Pure Win32 application
No MFC is used

This is my call to create the listview:

CreateWindowEx(<br />
		WS_EX_CLIENTEDGE,<br />
		WC_LISTVIEW,<br />
		"", //caption not required<br />
		WS_CHILD | WS_VISIBLE | LVS_REPORT,<br />
		0,  <br />
		0, <br />
		rect.right,	// width<br />
		rect.bottom,// height<br />
		m_hwndParent,<br />
		NULL,<br />
		(HINSTANCE) GetWindowLong (m_hwndParent, GWL_HINSTANCE),<br />
		NULL);

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 
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 

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.