Search:

Type: Posts; User: Marc

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    4,107

    Right.. Now i've removed the WM_KILLFOCUS,...

    Right..

    Now i've removed the WM_KILLFOCUS, WM_SETFOCUS code and used what you recommended.
    The game now renders underneath other windows fine!
    But now, when i completely switch windows (my game...
  2. Replies
    3
    Views
    4,107

    Thanks very much Bubba! That will be easy to...

    Thanks very much Bubba!
    That will be easy to implement into my game, i'll have a go and report back.

    Thanks again.
  3. Replies
    3
    Views
    4,107

    DirectX and Window Focus

    Hi, im not sure if i should post this in here or the Windows section.
    If its in the wrong place could a mod please move it, thanks.


    Im making myself a game and everythings going fine.

    Its a...
  4. I did something myself similar to this. I've...

    I did something myself similar to this.
    I've just cut it into a console app for you, should compile straight up.

    I also commented it so you can see whats going on.




    #include <windows.h>...
  5. Take a look into.. GetRawInputDeviceList()...

    Take a look into..

    GetRawInputDeviceList()
    GetRawInputDeviceInfo()

    You can get info from USB Keyboard, Mouse and all other HID's connected.


    Use MSDN it goes into all the detail you need,...
  6. Replies
    0
    Views
    936

    Window Picture and Fax Viewer

    I've made myself a photo album program and i'm trying to get it to launch the albums into a slideshow created by "Window Picture and Fax Viewer".

    I can get it to open and show the first photo in...
  7. Replies
    2
    Views
    1,169

    Cheers mate. It worked a treat! Marc

    Cheers mate.
    It worked a treat!

    Marc
  8. Replies
    2
    Views
    1,169

    Easy Question -> File Pointer

    I'm using WinAPI File functions and can't seem to find a GetFilePointer() type function.

    Does one exist?, or do i have to keep track of how many bytes i have read, written, seek'd etc?

    Thanks...
  9. Replies
    12
    Views
    3,310

    0byte .exe files..

    Has anyone else noticed that if you create a new text file or whatever, then rename it to whatever.exe, so its 0 bytes you can not delete it?

    This happened to me on my Windows XP machine.
    I asked...
  10. Replies
    12
    Views
    9,936

    This is what i do.. 1. Create a custom...

    This is what i do..

    1. Create a custom resource called "RT_MANIFEST" without quotes.
    2. Name the resource "1" without quotes.
    3. Paste in the xml code Ken gave you.
    4. Save & Recompile.

    You...
  11. Replies
    2
    Views
    3,679

    Thanks for the reply.. The problem is, i'm...

    Thanks for the reply..

    The problem is, i'm getting the texture from within a running program while i'm decoding a video file.

    I'm decoding the video then displaying the texture on a quad.
    The...
  12. Replies
    2
    Views
    3,679

    Texture Format Conversion

    Hi,

    I have a LPDIRECT3DTEXTURE8 in the format D3DFMT_YUY2.
    When i display it to screen on a quad the colors are all screwed up.

    Is there anyway to convert this to an RGB Texture to display it...
  13. Use.. case WM_PAINT: { //CODE...

    Use..



    case WM_PAINT:
    {
    //CODE HERE
    }
  14. Replies
    4
    Views
    847

    Thanks for the replys guys. I never thought...

    Thanks for the replys guys.

    I never thought about doing it that way!

    Luckily all the files that the prog will use should be less than 10mb, so its fine to read it all into memory and sort from...
  15. Replies
    4
    Views
    847

    Search through a file & return a pointer?

    Hi,

    Are there any functions similar to strstr() that can search through a file and return a pointer to that location, so i can then read in the data to a buffer?

    Example..



    FILE* fFile;...
  16. Replies
    2
    Views
    1,566

    Thanks for the reply. I managed to make myself a...

    Thanks for the reply.
    I managed to make myself a trainer for HALO!




    I just used a program that can scan through the memory of an open process for a value that you enter.
    You would then...
  17. Replies
    2
    Views
    1,566

    Inserting values into a process's memory

    Hi,

    Does anyone of any info or links on how to insert values into another process's memory?
    Like what a trainer for a game does, giving you 99 lives etc.

    Ive already trained the game, so i...
  18. Thread: ListBox Confusion

    by Marc
    Replies
    3
    Views
    1,119

    I found the error and now i feel like such a dumb...

    I found the error and now i feel like such a dumb @ss!
    In the "cx" part of the SetWindow message i was setting the end pixel instead of the width!

    Thanks for reading/replying.
    Marc
  19. Thread: ListBox Confusion

    by Marc
    Replies
    3
    Views
    1,119

    Thanks for replying. The reason i included no...

    Thanks for replying.

    The reason i included no code was because the scroll bar was visible in pic one.
    In pic two all i did was move the listbox to the right and the scroll bar didnt show!?.
    ...
  20. Thread: ListBox Confusion

    by Marc
    Replies
    3
    Views
    1,119

    ListBox Confusion

    Im trying to add a list box to a MDIChild to be used as a nicklist for a IRC-Client im working on.

    Heres PIC-1:
    http://www.btinternet.com/~makina/girc1.jpg

    As you can see the List here is...
  21. Replies
    3
    Views
    2,261

    Thanks for the help anonytmouse. That was...

    Thanks for the help anonytmouse.

    That was exactly what i was missing!
  22. Replies
    3
    Views
    2,261

    Ok, i have sorted out that problem but now i have...

    Ok, i have sorted out that problem but now i have another..



    LRESULT CALLBACK MDIChildWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
    {
    switch(msg)
    {
    case WM_CREATE:
    {
  23. Replies
    3
    Views
    2,261

    MDI and MENU Problem

    Hi,

    I have a problem enabling and disabling certain parts of a menu.

    When my MDI Child windows are minimized or not maximized the menu works correctly.
    But if they are maximized the menu fails...
  24. Replies
    2
    Views
    929

    MP3 File Information

    Hi

    Does anyone have any links to a website with MP3 file information. Such as how to retrieve ID3 tags, Bitrate, and Track Length etc??

    I've been searching around for some time now and can't...
  25. Replies
    8
    Views
    1,749

    You could always use "atoi()" .... Array To...

    You could always use "atoi()" .... Array To Integer.




    #include <iostream>

    using namespace std;

    int main()
Results 1 to 25 of 28
Page 1 of 2 1 2