Aaron Symons Posted October 5, 2016 Share Posted October 5, 2016 Hi guys, I was wondering if anyone's ever used a custom icon for their application's window. If so, what steps did you take? I imagine I might have to fiddle with the main.cpp file and possibly derive a new window class from Leadwerks::Window to get things working. One thing that will make this tricky: I'm targeting Windows OS, but eventually supporting OSX and Linux. Many thanks Quote Win7 64-bit | Intel i7-3770 3.40GHz | NVIDIA GeForce GTX 660 Link to comment Share on other sites More sharing options...
thehankinator Posted October 6, 2016 Share Posted October 6, 2016 Have you looked at this? https://social.msdn.microsoft.com/Forums/vstudio/en-US/dee0ac69-4236-49aa-a2a2-0ac672147769/win32-c-how-do-i-change-the-window-icon-during-runtime?forum=vcgeneral Quote Link to comment Share on other sites More sharing options...
macklebee Posted October 6, 2016 Share Posted October 6, 2016 Resource Hacker works for LE Windows executables. Don't know if it would for any other platforms though. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Aaron Symons Posted October 6, 2016 Author Share Posted October 6, 2016 Have you looked at this? https://social.msdn.microsoft.com/Forums/vstudio/en-US/dee0ac69-4236-49aa-a2a2-0ac672147769/win32-c-how-do-i-change-the-window-icon-during-runtime?forum=vcgeneral Hi thehankinator, That works like a charm! Can't believe it was so simple. Many thanks! Quote Win7 64-bit | Intel i7-3770 3.40GHz | NVIDIA GeForce GTX 660 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.