Hi, I am having problems deleting an array in my clear up code of a DirectX application in visual c++. The application runs fine until you exit it or the clean-up code is called for another reason.
The array is defended in the following way:
DWORD g_dwNumModels = 0L; //Used to store the...
Hi
I am writing a 3D game engine using the MFC frame work, and I would like to know if the .X Object format can support bump mapping textures? as this is a feature I would really like to add to my engine.
David
Hi
I have recently started using the DirectX 8 SDK to make a 3D application using Direct3D, however I am having trouble with applying textures to .X objects. I am using the following method to load the .x object:
if( FAILED( m_pObject->Create( m_pd3dDevice, _T("object.x") ) ) )...
Success, after some experimentation.
I had to add a new CFormView class to the application, and then remove the default CChildFrame(CMDIChildWnd) class from the doc template registration part of the application, as I could not find a way of adding the edit box directly to the CChildFrame class...
Hi, I have just started writing an application with the MFC AppWizard(exe), to create a MDI application, but I have no idea how to add objects to the Child window. The object in question that I am adding is an EditBox, so that plane text can be loaded and saved in a manor similar to any MDI word...
I have managed to derive the new class from CEdit, include an Edit box and add the appropriate code to OnInitDialog, but I can't extract the file dropped information, such as filename and path etc.
Any further help would be much appreciated. (Please note I have not been using Visual C++ for very...
Hi
I am writing a program that requires dragging and dropping of files into an Edit box, using the MFC Dialog based application type. I have seen the accept files option in the properties of the edit box and tried using it, but I can't add an event handler for when a file is dropped into the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.