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

    r129 r138  
    160160    bs.bubbleHmod = NULLHANDLE;
    161161    bs.pictRes = IDB_OPEN;
    162     bs.pictHmod = NULLHANDLE;
     162    bs.pictHmod = _hmod;
    163163    bs.menuRes = 0;
    164164    bs.menuHmod = NULLHANDLE;
     
    172172    bs.bubbleHmod = NULLHANDLE;
    173173    bs.pictRes = IDB_PRINT;
    174     bs.pictHmod = NULLHANDLE;
     174    bs.pictHmod = _hmod;
    175175    bs.menuRes = 0;
    176176    bs.menuHmod = NULLHANDLE;
     
    186186    bs.bubbleHmod = NULLHANDLE;
    187187    bs.pictRes = IDB_NAVPANE;
    188     bs.pictHmod = NULLHANDLE;
     188    bs.pictHmod = _hmod;
    189189    bs.menuRes = 0;
    190190    bs.menuHmod = NULLHANDLE;
     
    200200    bs.bubbleHmod = NULLHANDLE;
    201201    bs.pictRes = IDB_FIRSTPAGE;
    202     bs.pictHmod = NULLHANDLE;
     202    bs.pictHmod = _hmod;
    203203    bs.menuRes = 0;
    204204    bs.menuHmod = NULLHANDLE;
     
    212212    bs.bubbleHmod = NULLHANDLE;
    213213    bs.pictRes = IDB_PREVPAGE;
    214     bs.pictHmod = NULLHANDLE;
     214    bs.pictHmod = _hmod;
    215215    bs.menuRes = 0;
    216216    bs.menuHmod = NULLHANDLE;
     
    253253    bs.bubbleHmod = NULLHANDLE;
    254254    bs.pictRes = IDB_NEXTPAGE;
    255     bs.pictHmod = NULLHANDLE;
     255    bs.pictHmod = _hmod;
    256256    bs.menuRes = 0;
    257257    bs.menuHmod = NULLHANDLE;
     
    265265    bs.bubbleHmod = NULLHANDLE;
    266266    bs.pictRes = IDB_LASTPAGE;
    267     bs.pictHmod = NULLHANDLE;
     267    bs.pictHmod = _hmod;
    268268    bs.menuRes = 0;
    269269    bs.menuHmod = NULLHANDLE;
     
    279279    bs.bubbleHmod = NULLHANDLE;
    280280    bs.pictRes = IDB_100PERC;
    281     bs.pictHmod = NULLHANDLE;
     281    bs.pictHmod = _hmod;
    282282    bs.menuRes = 0;
    283283    bs.menuHmod = NULLHANDLE;
     
    291291    bs.bubbleHmod = NULLHANDLE;
    292292    bs.pictRes = IDB_FITPAGE;
    293     bs.pictHmod = NULLHANDLE;
     293    bs.pictHmod = _hmod;
    294294    bs.menuRes = 0;
    295295    bs.menuHmod = NULLHANDLE;
     
    303303    bs.bubbleHmod = NULLHANDLE;
    304304    bs.pictRes = IDB_FITWIDTH;
    305     bs.pictHmod = NULLHANDLE;
     305    bs.pictHmod = _hmod;
    306306    bs.menuRes = 0;
    307307    bs.menuHmod = NULLHANDLE;
     
    329329    bs.bubbleHmod = NULLHANDLE;
    330330    bs.pictRes = IDB_FIND;
    331     bs.pictHmod = NULLHANDLE;
     331    bs.pictHmod = _hmod;
    332332    bs.menuRes = 0;
    333333    bs.menuHmod = NULLHANDLE;
     
    341341    bs.bubbleHmod = NULLHANDLE;
    342342    bs.pictRes = IDB_FINDAGAIN;
    343     bs.pictHmod = NULLHANDLE;
     343    bs.pictHmod = _hmod;
    344344    bs.menuRes = 0;
    345345    bs.menuHmod = NULLHANDLE;
     
    355355    bs.bubbleHmod = NULLHANDLE;
    356356    bs.pictRes = IDB_MGLASS;
    357     bs.pictHmod = NULLHANDLE;
     357    bs.pictHmod = _hmod;
    358358    bs.menuRes = 0;
    359359    bs.menuHmod = NULLHANDLE;
Note: See TracChangeset for help on using the changeset viewer.