OKay probably a simple question for most of you guys here. When you are defining a window the line
this line basically tells the window when it needs to be redrawn, is the correct?Code:wndclass.style = bla;
OKay probably a simple question for most of you guys here. When you are defining a window the line
this line basically tells the window when it needs to be redrawn, is the correct?Code:wndclass.style = bla;
Oi Oi Oi!!!!
Not quite. You can use that for many values. One of them(CS_NOCLOSE), disables the "X" button, so it can't be closed. There's a lot more, but I don't know them all. Look for window class styles on MSDN.
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
Basically, Microsoft decided to use a long used technique to store several instructions in a single number. This saves memory and allows a more manageable parameter passing method rather than using, say, strings to do the work. Check out bit shifting/packing techniques on the web...
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }