The MinGW.OSDN Installation Manager Tool
Revision | 420e5ec21ec2875ac01cdf11d62b70a4537e76a9 (tree) |
---|---|
Zeit | 2012-12-19 07:46:14 |
Autor | Keith Marshall <keithmarshall@user...> |
Commiter | Keith Marshall |
Update tab display on right-click in package list view.
@@ -1,3 +1,10 @@ | ||
1 | +2012-12-18 Keith Marshall <keithmarshall@users.sourceforge.net> | |
2 | + | |
3 | + Update tab display on right-click in package list view. | |
4 | + | |
5 | + * src/pkgdata.cpp (AppWindowMaker::OnNotify) [NM_RCLICK]: | |
6 | + Call DataSheetMaker::DisplayData(), before invoking pop-up menu. | |
7 | + | |
1 | 8 | 2012-12-17 Keith Marshall <keithmarshall@users.sourceforge.net> |
2 | 9 | |
3 | 10 | Add more protection against NULL pointer abuse. |
@@ -4,7 +4,7 @@ | ||
4 | 4 | * $Id$ |
5 | 5 | * |
6 | 6 | * Written by Keith Marshall <keithmarshall@users.sourceforge.net> |
7 | - * Copyright (C) 2012, MinGW Project | |
7 | + * Copyright (C) 2012, MinGW.org Project | |
8 | 8 | * |
9 | 9 | * |
10 | 10 | * Implementation of the classes and methods required to support the |
@@ -1193,10 +1193,12 @@ long AppWindowMaker::OnNotify( WPARAM client_id, LPARAM data ) | ||
1193 | 1193 | case ID_PACKAGE_LISTVIEW: |
1194 | 1194 | if( ((NMHDR *)(data))->code == NM_RCLICK ) |
1195 | 1195 | { |
1196 | - /* A right button mouse click within the package list view | |
1197 | - * selects the package under the cursor, and offers a pop-up | |
1198 | - * menu of actions which may be performed on it. | |
1196 | + /* A right mouse button click within the package list view | |
1197 | + * selects the package under the cursor, refreshing the tab | |
1198 | + * pane to display its associated data sheet, and offers a | |
1199 | + * pop-up menu of actions which may be performed on it. | |
1199 | 1200 | */ |
1201 | + DataSheet->DisplayData( PackageTabControl, PackageListView ); | |
1200 | 1202 | SelectPackageAction( LVHT_ONITEMICON | LVHT_ONITEMLABEL ); |
1201 | 1203 | break; |
1202 | 1204 | } |