Hi all,
I'd like to set an image icon for my application. I'm using C++ on Visual Studio 2008.
I've seen that there's a SetIcon method that receive a pointer to the buffer of the image, but I really don't know how to use it since I've got a HICON:
sf::RenderWindow m_window;
HICON hIcon = (HICON) LoadImage(instance, MAKEINTRESOURCE(IDI_MYICON), IMAGE_ICON, 0, 0, LR_DEFAULTSIZE);
m_window.SetIcon(32, 32, ???);
Does anyone know how this can be done?
Thanks!