> > Hi
> >
> > > I'm using modeless dialogs to display some info.  I want them to show
> > > a Icon on the 'start bar' however by default they don't seem to do
> > > that - is it a style setting.


Hi,

Try this:

BOOL CYourDialog::OnInitDialog() 
{
    CDialog::OnInitDialog();
    m_hIcon = AfxGetApp()->LoadIcon(IDI_YOUR_ICON);
    SetIcon(m_hIcon, TRUE);
    SetIcon(m_hIcon, FALSE);

    // and all the other stuff
    //...
}

Hope this helps,
Carlos


_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to