Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

HPSI

@HPSI
About
Posts
73
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Good Search tool
    H HPSI

    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

    The Lounge csharp visual-studio c++ javascript com

  • Good Search tool
    H HPSI

    HPS 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

    The Lounge csharp visual-studio c++ javascript com

  • Dialog menu with Windows XP display glitch?
    H HPSI

    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.

    C / C++ / MFC c++ question

  • how to make program`s shortcut
    H HPSI

    Take 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.

    C / C++ / MFC com linux tutorial question

  • ExistFiles
    H HPSI

    int _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.

    C / C++ / MFC tutorial

  • Dialog menu with Windows XP display glitch?
    H HPSI

    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.

    C / C++ / MFC c++ question

  • What do you think about NUnit?
    H HPSI

    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.

    The Lounge question csharp database com ai-testing

  • How to retrieve application icon of a file type ?
    H HPSI

    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.

    C / C++ / MFC tutorial question

  • how to add a delay in program
    H HPSI

    ////////////////////////////////////////////////////////////////////////////////
    // 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.

    C / C++ / MFC tutorial

  • An issue with licensing that requires administrative attention...
    H HPSI

    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.

    The Lounge help question csharp com beta-testing

  • An issue with licensing that requires administrative attention...
    H HPSI

    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.

    The Lounge help question csharp com beta-testing

  • An issue with licensing that requires administrative attention...
    H HPSI

    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.

    The Lounge help question csharp com beta-testing

  • An issue with licensing that requires administrative attention...
    H HPSI

    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.

    The Lounge help question csharp com beta-testing

  • HTML in Application?
    H HPSI

    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.

    C / C++ / MFC c++ html tutorial question

  • Webcam with MFC
    H HPSI

    So 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.

    C / C++ / MFC c++

  • Spy++ can not capture message of this window
    H HPSI

    That 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.

    C / C++ / MFC question

  • Resource in static library
    H HPSI

    DavidCrow 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.

    C / C++ / MFC c++ debugging learning workspace

  • OnNotify and the MFCGrid
    H HPSI

    In effect the Create() has done the binding for you. All you have to do is put

    ON\_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.

    C / C++ / MFC css wpf wcf

  • Resource in static library
    H HPSI

    Resources 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.

    C / C++ / MFC c++ debugging learning workspace

  • why my menu items always are disabled?
    H HPSI

    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 as

    afx\_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.

    C / C++ / MFC help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups