Changeset 1806 for trunk/dll/notebook.c


Ignore:
Timestamp:
May 25, 2015, 6:31:12 PM (10 years ago)
Author:
Gregg Young
Message:

Auyo open help only on the first access of quick settlings page during a session. Ticket 520

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/notebook.c

    r1778 r1806  
    6666  09 Feb 14 GKY Fix separate parameters. Moved to general page renamed separate settings
    6767                for apps.
     68  25 May 15 GKY Auto open help only on first access of quick setting page during a session.
    6869
    6970***********************************************************************/
     
    38313832  HAB hab;
    38323833  static HACCEL haccelCfg = NULLHANDLE;
     3834  static BOOL fShowedHelpThisSession = FALSE;
    38333835
    38343836  switch (msg) {
     
    39353937
    39363938    // If quick settings page requested, assume request is for first time init
    3937     // Turn to cfg page and show help
     3939    // Turn to cfg page and show help; open help only the first yime in each session
    39383940    // Page will not be available if running fm/2 lite or if load error
    39393941    // 15 Feb 08 SHL fixme to do just once?
     
    39483950              BKM_TURNTOPAGE, MPFROMLONG(np[x].ulPageId), MPVOID);
    39493951      PostMsg(hwnd, UM_FOCUSME, MPFROMLONG(np[x].hwnd), MPVOID);
    3950       PostMsg(np[x].hwnd, WM_COMMAND, MPFROM2SHORT(IDM_HELP, 0), MPVOID);
     3952      if (!fShowedHelpThisSession) {
     3953        PostMsg(np[x].hwnd, WM_COMMAND, MPFROM2SHORT(IDM_HELP, 0), MPVOID);
     3954        fShowedHelpThisSession = TRUE;
     3955      }
    39513956    }
    39523957    else if (uPageIndex >= x) {
Note: See TracChangeset for help on using the changeset viewer.