Click here to Skip to main content
15,881,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: I have used CxImage in VS2005 (successful) and tried to use CxImage WINCE version, it doesn't support .jp2 images? Pin
Stuart Dootson26-May-09 22:19
professionalStuart Dootson26-May-09 22:19 
GeneralRe: I have used CxImage in VS2005 (successful) and tried to use CxImage WINCE version, it doesn't support .jp2 images? Pin
kapardhi26-May-09 22:41
kapardhi26-May-09 22:41 
GeneralRe: I have used CxImage in VS2005 (successful) and tried to use CxImage WINCE version, it doesn't support .jp2 images? Pin
Stuart Dootson26-May-09 23:01
professionalStuart Dootson26-May-09 23:01 
GeneralRe: I have used CxImage in VS2005 (successful) and tried to use CxImage WINCE version, it doesn't support .jp2 images? Pin
kapardhi26-May-09 23:25
kapardhi26-May-09 23:25 
GeneralRe: I have used CxImage in VS2005 (successful) and tried to use CxImage WINCE version, it doesn't support .jp2 images? Pin
Stuart Dootson27-May-09 1:24
professionalStuart Dootson27-May-09 1:24 
QuestionCRichEditCtrl on CMDIChildWnd Pin
prithaa26-May-09 20:20
prithaa26-May-09 20:20 
QuestionISENSLOGON getting subscribe entries to registry without any error but no notification is captured when user logon/logoff.Plz reply Masters. Pin
sakshibhugra26-May-09 20:16
sakshibhugra26-May-09 20:16 
QuestionVisual Studio 2005 like interface Pin
Gagnon Claude26-May-09 17:04
Gagnon Claude26-May-09 17:04 
Hi,

I am working in an application with docking window like Visual Studio 2005 interface. I do it with Visual Studio 2008 and MFC.

The left pane is a CTreeCtrl. I put items in it. When I click on an item, I want to display a form in the view portion of the application.

To do that, I have a member function called void CViewTree::OnTvnSelchanged(NMHDR *pNMHDR, LRESULT *pResult) to catch the event.

To display the form associated with the item clicked, I have to access the view class and after that the document class.

I access the view like that from the CViewTree::OnTvnSelchanged function:

CFrameWnd *pFrameWnd = (CFrameWnd*)AfxGetApp()->m_pMainWnd;
CCDSView* pView;
pView = (CCDSView*)pFrameWnd->GetActiveView();

I get memory leaks, but the program run anyway.

What I can't understand is that the program run under Vista 64 Home premium at home, but not run on an XP computer at office.

I compile it with Net Framework 2.0.

Does it has another way to access the view or document that does not crash my application ?

Thanks,

Claude
QuestionBitmaps for Tool Bar Pin
BobInNJ26-May-09 15:18
BobInNJ26-May-09 15:18 
AnswerRe: Bitmaps for Tool Bar Pin
«_Superman_»26-May-09 19:41
professional«_Superman_»26-May-09 19:41 
AnswerRe: Bitmaps for Tool Bar Pin
molesworth26-May-09 22:02
molesworth26-May-09 22:02 
AnswerRe: Bitmaps for Tool Bar Pin
BobInNJ27-May-09 8:13
BobInNJ27-May-09 8:13 
QuestionUse the windows 7 sdk with qt Pin
toprogramminguy26-May-09 13:34
toprogramminguy26-May-09 13:34 
AnswerRe: Use the windows 7 sdk with qt Pin
Stuart Dootson26-May-09 14:21
professionalStuart Dootson26-May-09 14:21 
GeneralRe: Use the windows 7 sdk with qt Pin
fanronghua26-May-09 22:50
fanronghua26-May-09 22:50 
GeneralRe: Use the windows 7 sdk with qt Pin
Stuart Dootson26-May-09 23:00
professionalStuart Dootson26-May-09 23:00 
QuestionAdding ActiveX Control Container to Win32 Window Pin
snacker226-May-09 12:50
snacker226-May-09 12:50 
AnswerRe: Adding ActiveX Control Container to Win32 Window Pin
Stuart Dootson26-May-09 13:00
professionalStuart Dootson26-May-09 13:00 
GeneralRe: Adding ActiveX Control Container to Win32 Window Pin
snacker226-May-09 13:24
snacker226-May-09 13:24 
GeneralRe: Adding ActiveX Control Container to Win32 Window Pin
snacker226-May-09 14:00
snacker226-May-09 14:00 
GeneralRe: Adding ActiveX Control Container to Win32 Window Pin
snacker226-May-09 14:12
snacker226-May-09 14:12 
GeneralRe: Adding ActiveX Control Container to Win32 Window Pin
snacker226-May-09 14:18
snacker226-May-09 14:18 
GeneralRe: Adding ActiveX Control Container to Win32 Window Pin
snacker226-May-09 14:21
snacker226-May-09 14:21 
GeneralRe: Adding ActiveX Control Container to Win32 Window Pin
Stuart Dootson26-May-09 14:32
professionalStuart Dootson26-May-09 14:32 
GeneralRe: Adding ActiveX Control Container to Win32 Window Pin
snacker227-May-09 7:08
snacker227-May-09 7:08 

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.