Jump to content
  • Advertisement

Mari_p

Member
  • Content Count

    294
  • Joined

  • Last visited

Community Reputation

232 Neutral

About Mari_p

  • Rank
    Member
  1. Well... for some reason only the SWP_FRAMECHANGED flag was not being enough to show the window correctly. So I just added the SWP_SHOWWINDOW to SetWindowPos() and it worked. SetWindowLong(hWnd, GWL_style, WS_POPUP ); SetWindowPos( hWnd, HWND_TOP , posX, posY, width , height, SWP_FRAMECHANGED|SWP_SHOWWINDOW );
  2. Quote:Original post by Evil Steve SetWindowLong(hWnd, GWL_style, WS_POPUP); should do it. You'll also need to call SetWindowPos() with the SWP_FRAMECHANGED flag to update the frame. Thanks Evil Steve, but SetWindowLong() seems not work in my case. I'm trying to remove the caption of a form (created in VB), but no luck. I pass the form's handle to a DLL I wrote in VC++. In the SetWindowLong's remarks I found: "The SetWindowLong function fails if the window specified by the hWnd parameter does not belong to the same process as the calling thread." Thank again.
  3. Quote:Original post by lulul why you want do that? why you don't create window with SDL? Thanks for replying, lulul. It is not for games... I would like SDL could render in the forms of VB, Delphi and C#. I already did that using Direct3D and work perfectly. ciroknight: Thank you very much for the valuable reply. I will look at SDL_CreateRGBSurfaceFrom() function.
  4. Thanks for the replies. Quote:Original post by Kylotan You are correct, SDL doesn't use Direct3D, or OpenGL, in its 2D rendering code. However, it's not common to find a platform that supports SDL but doesn't support OpenGL or Direct3D, so I'm not sure how useful your project will be, unless you absolutely don't want to go near OpenGL. In true, I'm interested only in 2D. I think I could take advantage of hardware acceleration and use Direct3D or OpenGL to emulate 2D with quads (2 triangles) and, in this way, I think the 3D rendering would be faster than the SDL rendering. Is this correct? Thanks again.
  5. Quote:Original post by Evil Steve D3DDEVTYPE_REF is only availiable on PCs with the SDK installed - I didn't know about that. Thanks Evil. So, as a second option, what resource would you recommend for PCs with no hardware acceleration? (just to develop the GUI)
  6. Quote:Original post by Anonymous Poster The technology you want to choose also depends on what you aim for in the end. It is diferent to code a website gui or to code a "skinned" windows application or to do an ingame gui. They all require different base technology. But if you want an ingame gui, and if you want to build it up from scratch, keep the rendering seperate from the gui logic and maybe later you can / someone else can do an SDL or OpenGL port. Just a thought. It's not for games and websites, it is just for common window applications, like players, sotwares to cadaster customers, etc...
  7. Mari_p

    Searching for a 3D platform game

    ...I'm thinking the game was Valkyrie Profile 2: Silmeria, although I didn't find the screenshot of the scene I saw. In the screenshot above it doesn't seem sidescroller. But there are ones that it is. Guys, thank you very much for all the replies.
  8. Quote:Why do you need GIF? Why not a full, resolution-independent vector graphics-based UI? I agree with you. I don't need GIF. I have been using GIF in some UI created in VB, because GIF is light and allows transparent regions without I have to code it. I'm not desiring cross-platform, so I think to use Direct3D for that. On the other hand, Direct3D is dedicate to 3D, and I would use it just to create and manipulate sprites/quads. The main reason is it is fast. What I would like to know is which kind of tools/resources the companies like The Skins Factory use to develop/code the graphic interfaces... If they use MFC, GDI, SDL, Direct3D, another 2D library, etc...
  9. Mari_p

    Searching for a 3D platform game

    Quote:Original post by JBourrie Klonoa 2? ... It is very beautiful, JBourrie [smile], but it is still not the game I'm seeking. It is more similar to the Valkyrie Profile game, but in a side-scrolling style, and totally in 3D. I saw the game for a few time... Perhaps the side-scrolling style is only in some levels of the game. Well... nothing to do with this topic, but when I was searching in the web, I found this nostalgic image... made me to remind of my old TK-90X (ZX-Spectrum) Thanks all replies.
  10. Mari_p

    Searching for a 3D platform game

    Quote:Original post by Kelendil Was it for console or PC? I'm not sure, but I believe it was for PS2 or XBox.
  11. Mari_p

    Searching for a 3D platform game

    I spent a long time searching for this game and nothing up to now... I am almost sure it was a japanese game. A "side-scrolling" game, but totally in 3D. Thanks anyway.
  12. Quote:Original post by Raloth Do you have any information about the computers it didn't work on? Knowing the graphics card model would increase our knowledge an infinite percent. The graphic card of those computers is: EliteGroup Computer System_AG305-32M GPU SiS 300/305 Mem. 32MB I had never heard about this card.
  13. Thanks for replying, Sc4Freak. Perhaps those computers have very old video drivers.... The strange is that the quads worked in. I'm using the first release of DirectX9 SDK (2002). I will try DirectX 9.0c SDK... ID3DXSprite seems a bit different in this SDK version (at least in the syntax of its draw method [smile]).
  14. Quote:Original post by raz0r Windows: Take a look at the WinInet family of functions; specifically, InternetReadFile. If you want (an easy way) to save a file and store it for later parsing, you may also wish to look at URLDownloadToFile. Thanks a lot, raz0r! It was exactly what I wanted. [smile]
  15. Thank you very much, friends. I decided to use SendInput. I posted the code here, in case someone is interested: void EmulateLeftMouseButton() { INPUT mouseInput = {0}; // Down state mouseInput.type = INPUT_MOUSE; mouseInput.mi.dwFlags = MOUSEEVENTF_LEFTDOWN; SendInput(1,&mouseInput,sizeof(INPUT)); // Up state ZeroMemory(&mouseInput,sizeof(INPUT)); mouseInput.type = INPUT_MOUSE; mouseInput.mi.dwFlags = MOUSEEVENTF_LEFTUP; SendInput(1,&mouseInput,sizeof(INPUT)); }
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!