mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
More detailed Messages.
svn path=/trunk/; revision=25180
This commit is contained in:
@@ -201,7 +201,15 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
|
||||
SelectedApplication = NULL;
|
||||
struct Category* Category = (struct Category*) ((LPNMTREEVIEW)lParam)->itemNew.lParam;
|
||||
DisplayApps (hApps, Category);
|
||||
ShowMessage(Category->Name, Category->Children ? L"Please selcect a subcategory" : L"Please selcet a application");
|
||||
|
||||
if(Category->Children && !Category->Apps)
|
||||
ShowMessage(Category->Name, L"Please choose a subcategory");
|
||||
else if(!Category->Children && Category->Apps)
|
||||
ShowMessage(Category->Name, L"Please choose a applcations");
|
||||
else if(Category->Children && Category->Apps)
|
||||
ShowMessage(Category->Name, L"Please choose a application or a subcategory");
|
||||
else
|
||||
ShowMessage(Category->Name, L"Sorry, there no applications in this category yet. You can help and add more applications.");
|
||||
}
|
||||
else if(data->hwndFrom == hApps)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user