My resource script contains an icon and several dialog boxes. I see the icon in the blue caption bar of the main window, but not in the dialog boxes. How can I apply my icon also in the dialog boxes? My RC contains (among other things)...
Surprise ICON Surprise.ico
HelmBox DIALOG 183, 55, 155, 50
STYLE WS_POPUP | WS_CAPTION
CAPTION "Heading for automatic helmsman"
FONT 8, "MS Sans Serif"
{
LTEXT "Heading to steer" , -1, 15, 10, 160, 8
.....
}
Surprise ICON Surprise.ico
HelmBox DIALOG 183, 55, 155, 50
STYLE WS_POPUP | WS_CAPTION
CAPTION "Heading for automatic helmsman"
FONT 8, "MS Sans Serif"
{
LTEXT "Heading to steer" , -1, 15, 10, 160, 8
.....
}