I want to set the icon by wcex.hIcon = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(SOMETHING)) where wcex is the WNDCLASSX struct object for opening the main window. I am not sure about what is SOMETHING in MAKEINTRESOURCE(SOMETHING).
I have loaded a .ico file by resource view in visual studio and I have a .rc file and the resource.h but don't know what to do with them.
After adding the .ico file the icon only appears in list of file explorer for the exe but not in taskbar or the exe window.
I am completely new to the winapi