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
Posted on 2001-05-14 22:21:00 by *unknown*
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.au
Posted on 2001-05-14 23:02:00 by hutch--
Thanks 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
Posted on 2001-05-16 03:18:00 by farrier