Kant wrote: Is there anyway to send the output to a text file? Yes. Go to File | Save Results. You can also print the results, and copy them to the clipboard (via right-click menu). Once you have a list of results, you can double-click on a line item to open the file in your editor. See Options | Preferences | Editor. If you have some directories that you frequently search, you can set them up as Speed Folders - go to Options | Preferences | Speed Folders. If you have any other questions or suggestions please let us know. High Plains Software support@highplains.net
HPSI
Posts
-
Good Search tool -
Good Search toolHPS Search can do what you want. We are doing a last round of beta tests for Version 1.1, and you can download and try this free, fully-functional beta here. This latest version allows you to add HPS Search to the Explorer right-click menu (you can also run HPS Search standalone, or from the command line), and supports four types of searches, including regular expressions. Use the following name/key: beta user 6F2E-38BE-616D-887D-CABF-6656-4297-7EEE-0D56-DF96-FB46-1116-00C7
-
Dialog menu with Windows XP display glitch?Using a .manifest file will not fix the XP menu bug. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
how to make program`s shortcutTake a look at CShellLink. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
ExistFilesint _access( const char *path, int mode ); HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
Dialog menu with Windows XP display glitch?What you see is a well-known bug in XP. There are three things required to trigger the behavior you describe: 1) a dialog-based app; 2) XP and 3) themes enabled. There is a CMenu replacement here on CP that corrects this bug: Owner Drawn Menu with Icons, Titles and Shading. Try the dialog sample, and you will see that it works correctly. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
What do you think about NUnit?From reading your previous articles, I'm sure you know that any system is comprised of 1) data and 2) algorithms that process that data. The systems that are the hardest to maintain and debug are those that require that all the data and all the algorithms (methods) are implemented and working, before you can begin debugging them. To the extent that NUnit forces small module size and complete testing of a module, then yes, it's better than nothing. The other aspect you didn't mention is, what if the "real" database wasn't available? Would it be possible to do any debugging or testing without it? Is it possible to do development offsite without it? These are all things that unit testing makes you think about. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
How to retrieve application icon of a file type ?HICON GetFileIconHandle(LPCTSTR lpszFileName, BOOL bSmallIcon)
{
UINT uFlags = SHGFI_ICON | SHGFI_USEFILEATTRIBUTES;if (bSmallIcon) uFlags |= SHGFI\_SMALLICON; else uFlags |= SHGFI\_LARGEICON; SHFILEINFO sfi; SHGetFileInfo(lpszFileName, FILE\_ATTRIBUTE\_NORMAL, &sfi, sizeof(SHFILEINFO), uFlags); return sfi.hIcon;
}
HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
how to add a delay in program////////////////////////////////////////////////////////////////////////////////
// NAME
// Delay -- pause for N milliseconds
//
// SYNOPSIS
// void Delay(DWORD dwMsecs, BOOL bBlocking)
//
// DESCRIPTION
// Delay pauses for the number of milliseconds specified by dwMsecs.
// If bBlocking is FALSE, messages in the message queue will
// be processed. If bBlocking is TRUE, the message queue will
// not be processed until the delay period is expired.
//
// RETURN VALUE
// None.
//
////////////////////////////////////////////////////////////////////////////////
void Delay(DWORD dwMsecs, BOOL bBlocking)
{
DWORD dwStrtmsecs, dwCurmsecs;dwStrtmsecs = dwCurmsecs = ::GetTickCount(); do { if (!bBlocking) { MSG msg; if (::PeekMessage(&msg, NULL, 0, 0, PM\_REMOVE)) { ::TranslateMessage(&msg); ::DispatchMessage(&msg); } } dwCurmsecs = ::GetTickCount(); // check for timer overflow condition if (dwCurmsecs < dwStrtmsecs) dwStrtmsecs = dwCurmsecs; } while ((dwCurmsecs < (dwMsecs + dwStrtmsecs)));
}
HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
An issue with licensing that requires administrative attention...Thank you. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
An issue with licensing that requires administrative attention...Joey Bloggs wrote: the current situation where all code submitted is immediately placed into the public domain Yes, that would be nice, but unfortunately it is not the current situation. There are now articles on CP that range all the way from PD to GPL to non-commercial use only. Sometimes this is stated in the article, sometimes you have to download and inspect the module headers to determine the status. It's now a mess, and an explicit declaration would help people figure out if they can use the article code in their app. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
An issue with licensing that requires administrative attention...Joey Bloggs wrote: trying to pull existing articles and code just seems churlish to me Yes, but it's been done on CP before, without much notice. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
An issue with licensing that requires administrative attention...Chris, Have you considered simply rating articles on their license? Perhaps even include this in the Submission Wizard, for authors to supply: - no restrictions whatsoever - some restrictions, but ok to use in commercial apps - cannot use in commercial apps This way, there won't be any future claim that "there never was any license". HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
HTML in Application?Take a look at Paul DiLascia's CHtmlCtrl. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
Webcam with MFCSo what are you looking for that you haven't found? Most webcams require use of Video for Windows, which is somewhat difficult. You might look at Microsoft's Vision SDK. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
Spy++ can not capture message of this windowThat is curious. However, a quick test to send
WM_GETFONT
shows that the window is responding. What happens if you send a mouse click to the window's button? Or you could also try to send a WM_SETFONT to the window to see if it does anything. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off. -
Resource in static libraryDavidCrow wrote: And that would be ??? Probably the one that says "Hey! Where's the dialog template???" HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
OnNotify and the MFCGridIn effect the
Create()
has done the binding for you. All you have to do is putON\_NOTIFY(GVN\_ENDLABELEDIT, 100, OnGridEndEdit)
in the message map (maybe using "IDC_GRID" might be better than just "100"). HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
Resource in static libraryResources must be put in modules (exe's or dll's). HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
why my menu items always are disabled?In the message map of your CWnd object you need to have an entry for each of the ID_* in your menu. For example,
ON\_COMMAND(ID\_COLLAPSE\_ALL, OnCollapseAll)
. The function
OnCollapseAll()
is prototyped asafx\_msg void OnCollapseAll();
HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.