Hey,
I've got a program that uses a dialog box as it's main window. I use the LoadIcon API and it works fine, but when tabbing through windows (using ALT + TAB) my programs icon is Windows defalut. How can I fix this?
Thanx
Unknown,
This is in the example code from MASM32 (regkey2.asm), icon
displays normally with Alt+Tab.
invoke LoadIcon,hInstance,200
mov hIcon, eax
invoke SendMessage,hWin,WM_SETICON,1,hIcon
Regards,
hutch@pbq.com.auThanks Hutch--!!
You cured a problem I didn't even know I had with my
Alarm/Countdown timer/Stopwatch program. I'm sure I
have seen the generic icon on the task switch bar, but
just never noticed.
Farrier