 |
|
 |
if you change this ...
const TCHAR* HORZ_BUTTON_TEXT = _T("Tile &Horizontally");
const TCHAR* VERT_BUTTON_TEXT = _T("Tile &Vertically");
to this ...
const TCHAR* HORZ_BUTTON_TEXT = _T("Ü&bereinander");
const TCHAR* VERT_BUTTON_TEXT = _T("&Nebeneinander");
then, its also working in the german vc++ ide ... same problem to all other languages ...
|
|
|
|
 |
|
 |
I'd like to know if I am missing something good. What the Window List is good for? Why would I like to touch it at all?
(Not talking about your Add-in but specifically about the Window List in VC++ at all)
Vitaly Belman
|
|
|
|
 |
|
 |
Hey, there are people out there who's projects are not made up of one source file. And then it happens that they need to open more then one window at a time.
In this case, if not using the excellent WndTabs addin, you "might" use the "Windows..." dialog.
Cheers
|
|
|
|
 |
|
 |
Note that I have installed both WndTabs and this add-on (or addin?).
Sometime, I get confused with 3 rows of tabs, and I find having all the filenames aligned in one column easing the search of a given file.
Plus it allows at a glance to see if an opened file is in the current project or not (with the display of the path), which files are read-only, etc.
It is small, nice, excellent!
Actually, I rewrite it from scratch (non-MFC) for the SciTE editor...
In case you are wondering, too: you can open a lot of files without workspace (eg. debugging a CGI exe), so the Workspace window is useless in this case. That's too bad, it should be used to display opened files.
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/
|
|
|
|
 |
|
 |
Hi,
unfortunately the window dialog crashes the DevStudio on activation when i am in debug mode.
Rolf
|
|
|
|
 |
|
 |
This bug is already fixed. You can download latest sources and DLL from my site.
|
|
|
|
 |
|
 |
Hi Yuri! Great add-in - finally sorts out Microsoft's horribly qiurky dialog. Just one minor problem - if a window is minimized, but selected in the list and double-clicked, it becomes the active window but stays minimized, which is somewhat annoying, and not what Microsoft's does. Here's a fix for the OnOK function which sorts this out. It checks to see if the window is currently minimized, and if so, sets it's state to normal. If it isn't minimized, it doesn't do anything
void EWLDialog::OnOK()
{
POSITION pos = m_listWindows.GetFirstSelectedItemPosition();
while (pos != NULL)
{
int iItem = m_listWindows.GetNextSelectedItem(pos);
ITEM_DATA *idata = (ITEM_DATA *)m_listWindows.GetItemData(iItem);
VARIANT_BOOL bactive(VARIANT_TRUE);
idata->pWindow->put_Active(bactive);
DsWindowState state;
if(SUCCEEDED(idata->pWindow->get_WindowState(&state)) && state==dsWindowStateMinimized)
{
idata->pWindow->put_WindowState(dsWindowStateNormal);
}
}
CResizableDialog::OnOK();
}
Thanks again - and keep up the good work!
Matt
|
|
|
|
 |
|
 |
I was thinking of doing something similar myself for some time now because the normal window list is IMHO unusable.
But now I have time for something else (code is already finished for some time) - I'll post it the next few weeks.
Somethimes I can really get angry about microsoft for making such tiny and uncomfortable dialogs (not to speak about resizeable).
Really well done!
Many greetings from Germany,
Christoph
|
|
|
|
 |
|
 |
"Sometimes I can really get angry about microsoft for making such tiny and uncomfortable dialogs"
Yeah, I know what you mean. I used to hate the windows list, especially as I tend to work with rather deep directory structures. Then I found a nice little tip that worked wonders. Just about all of the dialogs in msdev are held in resources in the .pkg files. So, simply load them into a resource editor (such as msdev!) and resize them to your hearts content. This gave me a much more useable windows list (now totally replaced with Yuri's add-in though), a much wider find window, and a much bigger quick watch window - all of which make life just that little bit better... And don't forget you can change the styles of windows and controls, too. Especially those combo boxes that limit the edit box length.
As always, be careful when doing this - and MAKE A BACKUP FIRST!!
|
|
|
|
 |
|
 |
I know about the possibility to many of the msdev and system dialogs and did it it the past several times, but after the next service pack everything is lost, so I gave up on this.
But nevertheless thanks for the tip - I guess it will be useful to somebody else.
Especially for this list the main problem was always the file path - I want to select the item trough "bild typing" its name in the list, but this does only work if there is only the file name (without a full Path) or even better the file path separated like in this great tool.
|
|
|
|
 |
|
 |
The current file is not always in the visible part of the list, if many files are open. The following addition to EWLDialog::FillWindowsList() solves this problem.
Insert these lines after the SortItems() call:
// ensure selected item is visible
int itemCount = m_listWindows.GetItemCount();
for (int i=0; i |
|
|
|
 |
|
 |
Thank you for your suggestion. It solves the problem indeed. Updated source codes and DLL are already posted to my site. I will post them to codeproject as soon as possible.
|
|
|
|
 |