CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Quasar999

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,941

    Re: Rendering a sprite in directx9

    Solved:


    #include <windows.h>
    #include <d3d9.h>
    #include <D3dx9math.h>
    #include <assert.h>
    #define WIN32_LEAN_AND_MEAN
    #define LP_3DDEVICE LPDIRECT3DDEVICE9
    #define LP_3D LPDIRECT3D9
  2. Replies
    1
    Views
    2,941

    Rendering a sprite in directx9

    Here a basic code for rendering a sprite in a window but it doesn't work, could you help me?


    #include <windows.h>
    #include <d3d9.h>
    #include <D3dx9math.h>
    #include <assert.h>
    #define...
  3. Replies
    3
    Views
    2,555

    Re: Aspect and format of the console

    Changed the code, but output is the same:



    #include <windows.h>
    #include <stdio.h>

    int main()
    {
    HANDLE hCon = GetStdHandle(STD_OUTPUT_HANDLE);
  4. Replies
    3
    Views
    2,555

    Aspect and format of the console

    I would like to change the aspect and the format fo the shell used to launch the following code:


    #include <windows.h>
    #include <stdio.h>

    int main()
    {
    HANDLE hCon =...
  5. Replies
    1
    Views
    575

    Unknown assertion

    Hello
    i've compiled the following app:

    main.cpp:

    #include <afxwin.h>
    #include "resource.h"

    class C_MyApp : public CWinApp
    {
  6. Replies
    4
    Views
    1,168

    Basic Dynamic Programming code

    Hello
    i'm just trying to do some basic example of dynamic programming and i've an issue with the following code:


    #include <cstdio>
    #include <vector>
    #include <ctime>
    using namespace std;
    ...
  7. Replies
    5
    Views
    1,005

    Re: Toolbar in MFC

    Did it with the following code:




    a.Create(m_pMainWnd, CBRS_TOP, IDR_TOOLBAR1);
  8. Replies
    5
    Views
    1,005

    Re: Toolbar in MFC

    Ok, found the include. The following code is compiled without errors but the toolbar is not showed:


    #include <afxwin.h>
    #include<afxext.h>
    #include "resource.h"
    class CResApp : public CWinApp...
  9. Replies
    5
    Views
    1,005

    Toolbar in MFC

    Hello
    i try to create a simple toolbar with a mfc but the compiler can't find the class CToolbar:



    #include <afxwin.h>
    #include "resource.h"
    class CResApp : public CWinApp
    {
    public:
  10. Replies
    3
    Views
    663

    Re: Message Map on MFC Application

    Thx. Anyway where i could find the full reference of the message map code in the ms documentation?
  11. Replies
    3
    Views
    663

    Message Map on MFC Application

    Hello
    i'd like to add an event handler on a mfc application for the left mouse of the button but i can't find the declaration to add in the MESSAGE_MAP block.
    I can't find the macro list in the API...
Results 1 to 11 of 11





Click Here to Expand Forum to Full Width

Featured