现在显示的是默认的,很难看,我想把它换成自己的,请问怎么改?多谢

解决方案 »

  1.   

    基于对话框的dll运行时任务栏?
    基于对话框的dll?
    Dll,运行时?
    Dll,任务栏?
      

  2.   

    不好意思,没说清楚。
    我编了个dll,主程序调用这个dll就会出现一个MFC的对话框,此时任务栏上有一个windows默认的这个对话框的icon,我现在想把它换成我自己的icon,在dll里应该在哪改
      

  3.   

    CWnd::SetIcon
    This method sets the handle to a specific icon, as identified by hIcon. When the window class is registered, it selects an icon.HICON SetIcon( 
    HICON hIcon, 
    BOOL bBigIcon ); 在那个MFC对话框的OnInitDialog 中调用SetIcon来改变ICON