cambalinho 142 Practically a Posting Shark

i need speak ;)
everytime that i create a topic, i recive an email... jonh_165 you can test that...
now the notifications can have a delay, but they will be showed... i use hotmail.
anotherthing: when you are login, maybe, you don't recive the notifications...
ok, i'm sepaking by head, but these is more or less what i see.
but Dani has right, the hotmail is more strange for get the mails. i have problems on others pages\forums too. it's a hotmail bug. you can try speak with them for see what that say, but.. i don't know what they will answer and you don't understand more.
Dani do what she can... but somethings aren't from here, but the hotmail 'rules'. i had some problems and she helped me very.
thank you so much for all
hey Happy Chrismas

cambalinho 142 Practically a Posting Shark

ddanbe: i belive that i don't have your experience, but we must, for exemple, use the const on class constructors and overloading operations for not lose data. and some errors are dificulty to find them, because the compiler don't detect them.
on these simple function we don't need use the const... so why he used? maybe because the negative\positive can change the variables results, i don't know... and maybe the '()' can avoid that problem. but for he use the 'const' it's because his variables are changed on some place

cambalinho 142 Practically a Posting Shark

i agree with Suzie999. the 'const' key word is for avoid that the variable value is changed. good for function parameters(1 time i was getting problems, until i change the parameter(on header function) to const.
maybe, when you change the positive\negative values, you realy need the const.
but for test try these:

Mat3D R_z(double RotAngle)
{
   double S = sin (RotAngle);
   double C = cos (RotAngle);

  Mat3D U;

  U.m_Mat[0][0] =  +(C);  U.m_Mat[0][1] =  +(S);  U.m_Mat[0][2] = 0.0;
  U.m_Mat[1][0] =  -(S);  U.m_Mat[1][1] =  +(C);  U.m_Mat[1][2] = 0.0;
  U.m_Mat[2][0] = 0.0;  U.m_Mat[2][1] = 0.0;  U.m_Mat[2][2] = 1.0;

  return U;
}

is just a thot: maybe the Suzie999 can correct us the diference(i didn't tested the code)
like you see they aren't const and their values are inside of parentheses('()'). maybe in these way, their values aren't changed and only show them with the negative\positive signal

cambalinho 142 Practically a Posting Shark

Minimalist: you have right. sorry....
but if you test with:

e.SuppressKeyPress = True

we didn't ear the beep.
sorry if i was rude

cambalinho 142 Practically a Posting Shark

sorry if i was rude... but i thot the:

e.SuppressKeyPress = True

prevent the key down continues

cambalinho 142 Practically a Posting Shark

Minimalist: i can be mistaked, but i think that you code isn't completed:

 e.SuppressKeyPress = True

i belive these line avoid the enter key continues be pressed.

anotherthing: these line

Me.SelectNextControl(Me.ActiveControl, True, True, True, True)

select the next control by tabindex order.

Reverend Jim: thanks for tell that ;)

cambalinho 142 Practically a Posting Shark

easy:

If e.KeyCode = Keys.Return And e.Alt = False Then
            e.SuppressKeyPress = True
            Me.SelectNextControl(Me.ActiveControl, True, True, True, True)
        End If

why i use the Alt key teste?
imagine that you need put a new line in textbox ;)
anotherthing: use the key down instead keypress... or you can't use some keys

cambalinho 142 Practically a Posting Shark

anotherthing: don't forget the compiler read everything by order from top to bottom(inclued that header files). for exemple: if you use 1 function before been created, you will get an error that don't exists or something.

"So why shouldn't I put everything in PCHs?"
you can make your own headers files and include their everything that you neeed. then you just need include these header file to your main.cpp file.