Search:

Type: Posts; User: iSlak

Search: Search took 0.01 seconds.

  1. Thanks for that. The search appears to be down so...

    Thanks for that. The search appears to be down so I probably wouldn't have found that.

    It seems I was missing a great deal of data from my DEVMODE structure that was filled in by...
  2. This returned a value of 0. :confused: Also,...

    This returned a value of 0. :confused:

    Also, my window is not displaying in full screen mode. The taskbar, window borders, and title bar are still visible. Any insight on this?
  3. Changing Refresh Rate With ChangeDisplaySettings()

    1. I'm using the following code to change my display settings:


    DEVMODE devModeScreen;

    memset(&devModeScreen, 0, sizeof(devModeScreen));
    devModeScreen.dmSize = sizeof(devModeScreen); ...
  4. Replies
    8
    Views
    1,229

    Ah, alright, I didn't even think to make that...

    Ah, alright, I didn't even think to make that distinction.


    That being said, is it possible to know whether a window has been minimized to the taskbar? I would like to stop calling my rendering...
  5. Replies
    8
    Views
    1,229

    I'm making an OpenGL application and if what I...

    I'm making an OpenGL application and if what I read was correct on MSDN, PeekMessage() doesn't wait for a message before returning. This speeds up my rendering immensely.
  6. Replies
    8
    Views
    1,229

    Thanks for the clarification! It works flawlessly...

    Thanks for the clarification! It works flawlessly now.
  7. Replies
    8
    Views
    1,229

    I changed my case statement to WM_DESTROY and the...

    I changed my case statement to WM_DESTROY and the application still persists in the background after the window has been destroyed.
  8. Replies
    8
    Views
    1,229

    Why Isn't My Application Terminating?

    I've written a simple Windows program that will display a window. However, when I close the window it closes properly but the application is still running in the background.



    #include...
  9. Replies
    4
    Views
    1,401

    Here we go:...

    Here we go: http://www.codeguru.com/forum/showthread.php?t=344569
  10. Replies
    4
    Views
    1,401

    Thanks for that. Here's another newbie question:...

    Thanks for that. Here's another newbie question: What's the difference between <iostream> and <iostream.h>?
  11. Replies
    4
    Views
    1,401

    Function Recursion

    #include <iostream.h>

    void recurse(int i)
    {
    if (i == 1)
    {
    i = 0;
    recurse(i);
    }
    //Statements
  12. This is making some sense now. What do you all...

    This is making some sense now. What do you all mean by a "non-zero" value?
  13. That works too. I tried doing the opposite but it...

    That works too. I tried doing the opposite but it doesn't work:

    This is always true:


    ('x' || 'y' == someChar)

    This is always false:
  14. Comparison Operator Comparing Two Values ('y' || 'x' == blah)

    I'm doing the following:


    if (('x' || 'y') == someChar)
    {
    //statements;
    }

    This doesn't evalulate as true even if x or y = someChar. Is the syntax wrong for a char type?
  15. Replies
    4
    Views
    1,565

    Thank you! I've been programming in Unrealscript...

    Thank you! I've been programming in Unrealscript all day and confused myself something fierce there.
  16. Replies
    4
    Views
    1,565

    Newbie Problem: Stupid Compiler Error

    #include <iostream>
    #include <stdlib.h>

    using namespace std;

    char coord [3][3];
    char winner;

    void function DisplayBoard()
    {
Results 1 to 16 of 16