Ignore:
Timestamp:
Sep 17, 2006, 8:25:32 AM (15 years ago)
Author:
Eugene Romanenko
Message:

start browser with external links

File:
1 edited

Legend:

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

    r126 r127  
    5454
    5555// OpenWatcom headers doesn't have GpiDrawBits() declaration
    56 extern "C" {
     56extern "C"
     57{
    5758    LONG APIENTRY GpiDrawBits(HPS hps, PVOID pBits, PBITMAPINFO2 pbmiInfoTable,
    5859                              LONG lCount, PPOINTL aptlPoints, LONG lRop, ULONG flOptions);
     
    17031704                    if ( links[ pg ]->_buffer[i].link.type == LU_LINK_TYPE_EXTERNAL_URI )
    17041705                    {
    1705                         WinMessageBox( HWND_DESKTOP, hMainFrame,
    1706                             links[ pg ]->_buffer[i].link.uri, "URI", 1,
    1707                             MB_OK | MB_INFORMATION | MB_MOVEABLE );
     1706                        if ( !startBrowser( links[ pg ]->_buffer[i].link.uri ) )
     1707                        {
     1708                            char *m = newstrdupL( MSGS_ERROR_STARTING_BROWSER );
     1709                            WinMessageBox( HWND_DESKTOP, hMainFrame, m,
     1710                                       NULL, 0, MB_OK | MB_ICONEXCLAMATION | MB_MOVEABLE );
     1711                            delete m;
     1712                        }
    17081713                    }
    17091714                    else if ( links[ pg ]->_buffer[i].link.type == LU_LINK_TYPE_TITLE )
Note: See TracChangeset for help on using the changeset viewer.