In most cases, you don't need such case. I can explain: on the user size, there is no arithmetic operations with HWND; they are some abstract pointers; you only get HWND values from Windows API and pass HWND as parameters of other API function, never do any calculations with then on the user side.
However, there are rare cases when it is needed, such as casting between HWND and LPARAM, when sending or handling messages. Then, well, make a type cast.
Anyway, it's a must to learn C++ typecast, which is very important part of programming:
http://www.cplusplus.com/doc/tutorial/typecasting/[
^].
—SA