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/docViewer.cpp

    r127 r138  
    126126    haveLinks = false;
    127127    links = NULL;
    128     handPtr = WinLoadPointer( HWND_DESKTOP, NULLHANDLE, IDP_HAND );
    129     zoomInPtr = WinLoadPointer( HWND_DESKTOP, NULLHANDLE, IDP_ZOOM_IN );
    130     zoomOutPtr = WinLoadPointer( HWND_DESKTOP, NULLHANDLE, IDP_ZOOM_OUT );
     128    handPtr = WinLoadPointer( HWND_DESKTOP, _hmod, IDP_HAND );
     129    zoomInPtr = WinLoadPointer( HWND_DESKTOP, _hmod, IDP_ZOOM_IN );
     130    zoomOutPtr = WinLoadPointer( HWND_DESKTOP, _hmod, IDP_ZOOM_OUT );
    131131    // search
    132132    foundrects = NULL;
     
    137137    ULONG dfFlags = FCF_VERTSCROLL | FCF_HORZSCROLL | FCF_NOBYTEALIGN;
    138138    hWndDocFrame = WinCreateStdWindow( hWndFrame, WS_VISIBLE, &dfFlags, NULL, NULL,
    139                                        WS_VISIBLE, NULLHANDLE, 0, NULL );
     139                                       WS_VISIBLE, _hmod, 0, NULL );
    140140    WinSetWindowULong( hWndDocFrame, QWL_USER, (ULONG)this );
    141141    oldFrameProc = WinSubclassWindow( hWndDocFrame, docFrameProc );
Note: See TracChangeset for help on using the changeset viewer.