CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: pates

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    4,493

    Re: Rotating Object About Center Using GDI++

    This is way too late for the original author, but I just encountered a similar issue and wanted to post a follow-up for others' benefit.

    TranslateTransform() needs the absolute rotation point,...
  2. Re: MFC CListCtrl and DeleteAllItems related memory issue

    I'm not an expert on threading, but perhaps the WorkerThread is trying to add items as you're deleting them? Have you tried setting m_startFillingListBox to false before calling...
  3. Replies
    2
    Views
    3,771

    CListCtrl: which rows are visible?

    What is the best way to determine which rows are visible in a CListCtrl? Right now I'm using GetTopIndex() to find the top row displayed and then a "magic number" to find the bottom row.
  4. Replies
    8
    Views
    6,903

    Re: CListCtrl: variable columns per row?

    Just to follow up, this example has been quite helpful. Obviously it doesn't gift-wrap and deliver exactly what I need, but it's at least helped me get started down the path of creating my own...
  5. Replies
    8
    Views
    6,903

    Re: CListCtrl: variable columns per row?

    Thanks so much for the replies! Your advice has probably saved me quite a bit of time and frustration. I especially appreciate the deeper explanation, OReubens, and am starting to look into 3rd...
  6. Replies
    8
    Views
    6,903

    Re: CListCtrl: variable columns per row?

    Victor, this is just a graphical mockup of what I would like to achieve. Please ignore the style and appearance of the controls; the graphic was created to illustrate the desired layout and...
  7. Replies
    8
    Views
    6,903

    CListCtrl: variable columns per row?

    Is there a way to vary the number and types of controls in each column/row?

    In the attached mockup, the Settings column can have any of the following based on what's selected in the Main column:...
  8. Replies
    2
    Views
    5,140

    Re: Smart shortcut icon?

    Forgive me, I don't intend to keep bumping this, but I got one new bit of information. My tester has informed me that the icon is correct on Windows 7. It's only Windows XP that displays the plain...
  9. Replies
    2
    Views
    5,140

    Shortcut to Folder

    I also just noticed that in Explorer, the type is displayed as Folder instead of Shortcut. I've attached screenshots of the desired and actual outcomes. (The "desired" was created manually, by...
  10. Replies
    2
    Views
    5,140

    Smart shortcut icon?

    I've created a shortcut to a folder using this example (http://www.codeguru.com/cpp/w-p/files/shellapifunctions/article.php/c7209), passing in CLSID_FolderShortcut to CoCreateInstance(). It works...
  11. Replies
    0
    Views
    468

    .NET Developer, Minneapolis

    obsolete
  12. Change frame title without changing window menu?

    Thanks to the very helpful advice found in others' previous posts I've figured out how to change the frame title in my MDI app via OnUpdateFrameTitle(). However, I don't want the changes to appear...
  13. Re: "not enough actual parameters" warning & errors

    Ovidiu, that was it exactly! Moving the #include for WINDOWSX.H to before AFXWIN.H fixed the errors. Thank you thank you!
  14. "not enough actual parameters" warning & errors

    When trying to subclass a CEdit control in a CListCtrl, I'm getting the following warnings/errors. Could the compiler be getting confused between the windowsx.h SubclassWindow() and the afxwin.h...
  15. Replies
    2
    Views
    566

    Searching for file on hard drives

    I need to launch another guy's executable from my app's menu item.
    The problem is that the user can install that executable anywhere on the system, either before or after they install my app. The...
  16. Replies
    0
    Views
    599

    Resized dialog in wrong position

    I have a dialog with a fixed height, variable width. It is made up of vertical panes and we do not want to show a partial pane - so when it's being horizontally resized we want to snap the side of...
  17. Replies
    4
    Views
    834

    Re: VC++ takes forever to link

    Thanks, turning off incremental link helped a little bit. Now I'm down to 4 1/2 minutes:
    "Linking..." 1.5 minutes
    "Creating library APPNAME.lib and object APPNAME.exp" 3 minutes

    Yes, it...
  18. Replies
    4
    Views
    834

    VC++ takes forever to link

    Several months ago, VC++ started taking a really long time to link my project - I timed it at SIX MINUTES for a one-line change in a .cpp file. Before that, linking only took a few seconds. I have...
Results 1 to 18 of 18





Click Here to Expand Forum to Full Width

Featured