Home c++ Row conversion in HWND on C++

Row conversion in HWND on C++




I have a string with a 16-riche number (for example 0xb0844):

string h;

and variable type HWND:

hwnd h1;

Question: How can I convert a line in Humble HWND?

Next I use

setforegroundwindow (h1);

Answer 1, Authority 100%

So for example:

if (1! = :: std :: sscanf (text.c_str (), "0x% zx", :: STD :: Addressof (Handle)))
   Throw :: Std :: Runtime_error {"Bad Value"};

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions