Ignore:
Timestamp:
Feb 8, 2007, 8:38:41 PM (19 years ago)
Author:
RBRi
Message:

#14 fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NewView/MainForm.pas

    r65 r71  
    17601760  Topic: TTopic;
    17611761begin
     1762  LogEvent(LogDebug, 'DisplayTopicByResourceID id:' + IntToStr(ID));
    17621763  Topic := FindTopicByResourceID( ID );
    17631764  if Topic = nil then
    17641765  begin
     1766    LogEvent(LogDebug, 'DisplayTopicByResourceID - topic not found');
    17651767    Result := false;
    17661768    exit;
     
    17691771  result := true;
    17701772
     1773  LogEvent(LogDebug, 'DisplayTopicByResourceID topic: "' + Topic.Title + '"');
    17711774  DisplayTopic( Topic );
    17721775end;
     
    22622265
    22632266Procedure TMainForm.DebugShowParamsMIOnClick (Sender: TObject);
    2264 var
    2265   tmpWindowPosition : TWindowPosition;
    22662267Begin
    22672268  with InformationForm.InformationMemo do
     
    68416842Procedure TMainForm.NHMDisplayIndex( Var Msg: TMessage );
    68426843begin
     6844  LogEvent(LogNHM, 'NHMDisplayIndex');
    68436845  RestoreWindow;
    68446846  DisplayIndex;
     
    68516853Procedure TMainForm.NHMDisplayContents( Var Msg: TMessage );
    68526854begin
     6855  LogEvent(LogNHM, 'NHMDisplayContents');
    68536856  RestoreWindow;
    68546857  DisplayContents;
    68556858  // if nothing is being display already...
    68566859  if Windows.Count = 0 then
     6860  begin
    68576861    // display first topic
    68586862    DisplaySelectedContentsTopic;
     6863  end;
    68596864end;
    68606865
    68616866Procedure TMainForm.NHMTopicByResourceID( Var Msg: TMessage );
    68626867begin
     6868  LogEvent(LogNHM, 'NHMTopicByResourceID');
    68636869  RestoreWindow;
     6870  DisplayContents;
    68646871  DisplayTopicByResourceID( Msg.Param1 );
    68656872end;
     
    68716878  Topic: TTopic;
    68726879begin
     6880  LogEvent(LogNHM, 'NHMTopicByPanelName');
    68736881  RestoreWindow;
    68746882
     
    68776885  SharedMemory.Free( pMessageMem );
    68786886
     6887  LogEvent(LogNHM, '....NHMTopicByPanelName panel:' + PanelName);
    68796888  Topic := FindTopicByName( PanelName );
    68806889  if Topic = nil then
     
    68936902  pSearchText: pchar;
    68946903begin
     6904  LogEvent(LogNHM, 'NHMSearch');
    68956905  RestoreWindow;
    68966906
     
    69046914  pSearchText: pchar;
    69056915begin
     6916  LogEvent(LogNHM, 'NHMGlobalSearch');
    69066917  RestoreWindow;
    69076918
     
    69136924Procedure TMainForm.NHMShowUsage( Var Msg: TMessage );
    69146925begin
     6926  LogEvent(LogNHM, 'NHMShowUsage');
    69156927  RestoreWindow;
    69166928  ShowUsage;
     
    69216933  pFileNames: pchar;
    69226934begin
     6935  LogEvent(LogNHM, 'NHMSetFiles');
    69236936  // NOT restoring window here because this is not something the user should see...
    69246937  pFileNames := pstring( Msg.Param1 );
     
    69316944  pTitle: pchar;
    69326945begin
     6946  LogEvent(LogNHM, 'NHMSetTitle');
    69336947  pTitle := pstring( Msg.Param1 );
    69346948  MainTitle := StrPas( pTitle );
     
    69426956  ps: pstring;
    69436957begin
     6958  LogEvent(LogNHM, 'NHMTest');
    69446959  ps := PString( Msg.Param1 );
    69456960  ShowMessage( 'Got test message: ' + ps^ );
Note: See TracChangeset for help on using the changeset viewer.