Ignore:
Timestamp:
Oct 9, 2006, 5:32:58 PM (15 years ago)
Author:
Eugene Romanenko
Message:

Better solution for #78, move GUI to DLL, executor sets BeginLibPath? and loads GUI DLL (closes #78)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/gui/aboutDlg.cpp

    r127 r138  
    100100    WinSetWindowULong( hwnd, QWL_USER, (ULONG)ld );
    101101    HPS hps = WinGetPS( hwnd );
    102     ld->image = GpiLoadBitmap( hps, NULLHANDLE, IDB_LOGO, 0, 0 );
     102    ld->image = GpiLoadBitmap( hps, _hmod, IDB_LOGO, 0, 0 );
    103103    WinReleasePS( hps );
    104104    WinInvalidateRect( hwnd, NULL, FALSE );
     
    121121                WinSetDlgItemText( hwnd, IDT_LUCIDEVERSION, buf );
    122122
    123                 HPOINTER p = WinLoadPointer( HWND_DESKTOP, NULLHANDLE, IDP_HAND );
     123                HPOINTER p = WinLoadPointer( HWND_DESKTOP, _hmod, IDP_HAND );
    124124                setLinkPointer( p );
    125125
     
    143143    hWndFrame = _hWndFrame;
    144144    WinDlgBox( HWND_DESKTOP, hWndFrame, AboutProc,
    145                NULLHANDLE, IDD_ABOUT, NULL );
     145               _hmod, IDD_ABOUT, NULL );
    146146}
    147147
Note: See TracChangeset for help on using the changeset viewer.