StDXNVWindow - cosmetics

Use StCondition instead of low-level WinAPI calls.
Use Unicode WinAPI function names (do not depend on UNICODE macros).