Search:

Type: Posts; User: b00l34n

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,490

    Excellent, thanks a lot.

    Excellent, thanks a lot.
  2. Replies
    2
    Views
    1,490

    'IsLButtonDown' ?

    I need a function that will return the current state of the left mouse button.
    The obvious answer would be to have a static boolean variable that changes according to WM_LBUTTONDOWN/UP messages....
  3. Replies
    2
    Views
    1,690

    General Advice (RTS Game)

    Hello everybody.
    I am currently exploring the idea of making a game, I've always liked RTS games so this seems like a suitable candidate. However, I have no knowledge of how games are made etc... I...
  4. Replies
    8
    Views
    3,728

    Thank you very much.

    Thank you very much.
  5. Replies
    8
    Views
    3,728

    sorry, I must have not explained the problem good...

    sorry, I must have not explained the problem good enough.
    with that code, when I use the backspace, the text doesn't get erased untill I try to highlight it. basically, the edit control is not...
  6. Replies
    8
    Views
    3,728

    ha ha, sorry I only just realised I forgot to...

    ha ha, sorry I only just realised I forgot to attach the file.. I must have one heck of a short memory :D

    here it is: (please remove txt extension, it wouldn't allow me to attach a zip)
  7. Replies
    8
    Views
    3,728

    I have attatched a small sample program source...

    I have attatched a small sample program source code that has the same problem. Hopefully after seeing the problem first hand you will know how to fix it.

    I have found out the problem line, it is...
  8. Replies
    8
    Views
    3,728

    Wm_ctlcoloredit

    Hello, I have an edit control on my dialog, I have handled WM_CTLCOLOREDIT to change the edit control's color. However, I have just noticed a bug, when highlighting the text/erasing it, it doesn't...
  9. Replies
    2
    Views
    1,903

    Excellent, Thank you very much. I did see the...

    Excellent, Thank you very much.

    I did see the I_IMAGENONE flag on msdn, but I was hoping there was a way that worked on 98 too.

    once again, Thank you.
  10. Replies
    2
    Views
    1,903

    Text Only Toolbars - resolved

    Hello, I want to mimic a menu on my window using a toolbar, the main problem I'm having is the size issues. Whenever I create a toolbar it seems to always leave space for a bitmap, even if I don't...
  11. Replies
    5
    Views
    2,248

    Thanks Salem. If when I declare iData, I do char...

    Thanks Salem. If when I declare iData, I do char iData[1000] = ""; It solves the problem.
    Thank you for your explanation.
  12. Replies
    5
    Views
    2,248

    But what confuses me is where has that other data...

    But what confuses me is where has that other data come from. I'm not using the same buffer or socket. where is that data coming from?
  13. Replies
    5
    Views
    2,248

    Sockets switching data?

    Hello, I've made a simple program that connects to an IRC server. I'm now working on the ident server bit, that listens on port 113. I've come across something rather strange though.
    I have two...
  14. Thread: poker game

    by b00l34n
    Replies
    14
    Views
    2,130

    I'm struggling with this. I'm using type BITMAP....

    I'm struggling with this. I'm using type BITMAP.
    And I don't know how to get:


    //Size of bitmap to blit
    DWORD dwSize=Bitmap.ImageSize;

    or

    //Buffer pointers for screen and bitmap
  15. Thread: poker game

    by b00l34n
    Replies
    14
    Views
    2,130

    Oh right thanks, I wasn't sure, I thought maybe...

    Oh right thanks, I wasn't sure, I thought maybe there was something I was missing. Thanks for the help bubba
  16. Thread: poker game

    by b00l34n
    Replies
    14
    Views
    2,130

    is BMPBitmap a typo? I've never seen that type...

    is BMPBitmap a typo?
    I've never seen that type before, and msdn has nothing about it either. Also, where is 'Bitmap' and 'Screen' declared?
  17. Thread: poker game

    by b00l34n
    Replies
    14
    Views
    2,130

    ok... How do I 'create a mask of alpha values'?...

    ok... How do I 'create a mask of alpha values'?
    I'm sorry, I'm new to the graphics scene.
    I did have one idea, which was that, if I set all the pixels that I don't want drawn to somthing like pink,...
  18. Thread: poker game

    by b00l34n
    Replies
    14
    Views
    2,130

    I've just read that alpha blending is just...

    I've just read that alpha blending is just combining two colors to make a blended color, therefore giving the effect of transparency. But what I want to do is only make certain pixels of a bitmap...
  19. Thread: poker game

    by b00l34n
    Replies
    14
    Views
    2,130

    When I said online, I meant multiplayer. All...

    When I said online, I meant multiplayer. All players will connect to a central server. The central server will simply send the card values and a few other things. The clients will do most of the work.
  20. Thread: poker game

    by b00l34n
    Replies
    14
    Views
    2,130

    Which is easier to learn, OpenGL or DirectX?...

    Which is easier to learn, OpenGL or DirectX?
    Because I don't want to have to put back this project a month or two in order to learn either.
  21. Thread: poker game

    by b00l34n
    Replies
    14
    Views
    2,130

    poker game

    Hello, I'm thinking of making an online poker game, it will have simple 2d graphics. I have never made a game before, and I don't know any opengl/directx stuff only pure win32. Do you think it is...
  22. Replies
    28
    Views
    13,071

    Just figured it out, It's giving me the remote...

    Just figured it out, It's giving me the remote port, not local. Is it possible to get the local port at which a connection is established?
  23. Replies
    28
    Views
    13,071

    I usualy get a random number above 3000, If the...

    I usualy get a random number above 3000, If the first random number is 3980 the next will be 3981, and so on, no matter which port it is.
  24. Replies
    28
    Views
    13,071

    Strange, It's now working because I took out a...

    Strange, It's now working because I took out a piece of unrelated code. Is there anyway to get the port back from a socket?
    I tried:



    sockaddr_in test;
    SOCKET sock =...
  25. Replies
    28
    Views
    13,071

    Ok, so I got it semi-working. If I only call...

    Ok, so I got it semi-working. If I only call WSAAsyncSelect() once, it's fine. But if I try to call it again for another socket, it fails. why can this be?
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4