Thank you steve Krithika
krithika_Ramanujam
Posts
-
MDI app - CDocument - Memory release -
ComboBox display problem on Windows 98hi I think the problem is u didnt pull down the extent of ur combo drop down in the resource view, Go to your resource view,get the respurce where ur combo is,click on the dropdown arrow,u will get a dotted box, pull it down to the extent u want to display the data When u do this, vertical scroll appears automatically...:) Thanks krithika
-
MDI - Access to Doc From MainFrameHi jerry here is the code to access doc page from mainframe.cpp ///////////////////////////////////////////////////////////// //get main wnd handle CMDIFrameWnd *pFrame = (CMDIFrameWnd*)AfxGetApp()->m_pMainWnd; // Get the active MDI child window. CMDIChildWnd *pChild = (CMDIChildWnd *) pFrame->GetActiveFrame(); // or CMDIChildWnd *pChild = pFrame->MDIGetActive(); // Get the active view attached to the active MDI child // window. m_pView = (CTDGView *) pChild->GetActiveView(); m_pDOC = m_pView->GetDocument(); /////////////////////////////////////////////////////////// this code can be used from any part of the application to access a document. Hope this helps thanks Krithika
-
Application Priority - when minimizedHi guys, When the application is minimized it takes a low prority, i found out this when i process a file in MDI application,The file that is processed in 20 secs when the application is not minimized, takes 1 min to process when the application is minimized. How shd i set high priority to my MDI application always.Is it safe to do this?,Will this affect the other system applications?, please explain. Thanks Krithika
-
MDI app - CDocument - Memory releaseHi guys I developed an application in MDI, I want to know .. i open an new document and close it.. the memory for that document be released...i checked in task manager , it dosent show any release of memory..how shld i find out or wat functions shld i call to release the memory for the document Thanks krithika