User Profile

Collapse

Profile Sidebar

Collapse
ramilol
ramilol
Last Activity: Dec 4 '10, 07:28 PM
Joined: Aug 9 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ramilol
    started a topic C++ directx picking is not working
    in C

    C++ directx picking is not working

    i got help writing my picking function... but it still doesn't work im not sure if it is because the my function or because of my mesh it is one of them. someone suggest me to draw the ray, i drew my rays it basically followed my cursor(mouse).
    here is my code

    Code:
        BOOL D3dDevice::Picking(HWND hWnd, LPDIRECT3DDEVICE9 d3ddev, CXFileEntity *entity, int z)
        {
        	D3DXVECTOR3 v;
        	D3DXMATRIX matProj;
    ...
    See more | Go to post

  • ramilol
    started a topic how to create cursor using gdi+ c++
    in C

    how to create cursor using gdi+ c++

    i wanna create cursor but i have no idea how all i know is that ill use create cursor to do it but the last two paremters need a some 00xff values i have no idea how to use them can't i just draw something using eclipse than create cursor using it
    any idea would help me?
    thanks
    See more | Go to post

  • ramilol
    replied to c++ gdi+ double buffer problem
    in C
    can you give me an simple example with code
    See more | Go to post

    Leave a comment:


  • ramilol
    started a topic c++ gdi+ double buffer problem
    in C

    c++ gdi+ double buffer problem

    ok i have no idea how double buffer works
    i really need good sample example or tutorial
    thanks
    Ramiz
    See more | Go to post

  • how am i suppose to do that?
    See more | Go to post

    Leave a comment:


  • c++ creating animation help gdi and repaint window win32

    ok im trying to create a animation of circle i have a while loop that loops and set var value the varable will be used to set the circle x value
    here is the loop
    Code:
    while(sd==1)
    		{
    			sf++;//globe var, sf equals 1
    			onPaint(hdc);//paint the circle
    			InvalidateRect (hWnd, NULL, TRUE);//it should repaint the window but it doesn't
    			UpdateWindow(hWnd);
    		}
    well i can sucessfully...
    See more | Go to post

  • ramilol
    started a topic c++ gdi animation problem
    in C

    c++ gdi animation problem

    ok so i have problem using gdi to create a animation
    i have this code but it creates that creates a circle than it update its location so if like x = 1 it will be x = 2... that works file but when i try to clear what was painted and repaint it that doesn't work so it creates mroe than one circle with different locations(x).
    here is the code for that creates the cricle
    Code:
    VOID onPaint(HDC hdc)
    {
       Graphics
    ...
    See more | Go to post

  • ramilol
    replied to c++ win32 command line
    in C
    greate it worked and i was creating message because it was the simple way that it would show me if it works
    See more | Go to post

    Leave a comment:


  • ramilol
    replied to c++ win32 command line
    in C
    ok
    Code:
    // Take and Run.cpp : Defines the entry point for the application.
    //
    
    #include "stdafx.h"
    #include "Take and Run.h"
    #include <string>
    #include <objidl.h>
    #include <gdiplus.h>
    using namespace Gdiplus;
    #pragma comment (lib,"Gdiplus.lib")
    
    
    #define MAX_LOADSTRING 100
    
    // Global Variables:
    ...
    See more | Go to post
    Last edited by ramilol; Aug 9 '10, 06:32 AM. Reason: forgot something

    Leave a comment:


  • ramilol
    replied to c++ win32 command line
    in C
    can you help me with this one please. ok since the LPTSTR lpCmdLine is declared in WinMain i used this to create var to store ipcmdline value, LPTSTR args = lpCmdLine;i put it in WinMain but when i try to call it from a different function it says undifined args i know why it is saying that but if i decalre the varabile in the other function ill get a different error. so is there way i can call the varable(args) in winMain funtion ?
    See more | Go to post

    Leave a comment:


  • ramilol
    replied to c++ win32 command line
    in C
    i tried it and it worked just fine thanks very much
    See more | Go to post

    Leave a comment:


  • ramilol
    replied to c++ win32 command line
    in C
    i would if i can go on my laptop my mom is using it but i will and i tell you the result thanks very much for your time
    See more | Go to post

    Leave a comment:


  • ramilol
    replied to c++ win32 command line
    in C
    MessageBox(NULL ,lpCmdLine,L"Co mmand Line argument",MB_OK );
    will this have the ture value?
    See more | Go to post

    Leave a comment:


  • ramilol
    started a topic c++ win32 command line
    in C

    c++ win32 command line

    im using Process::start( "test.exe","tur e");
    it start a process called test.exe and send argument ture but on text.exe i don't know how to get the argument that have been sent,test.exe is win32 window. all i need help with how to get the ture in test.exe?
    See more | Go to post
No activity results to display
Show More
Working...