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

Search:

Type: Posts; User: Dan203

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Overload WriteProfileXXX/GetProfileXXX to store settings in XML instead of regist

    Yeah after thinking about this more I'm not sure the minor benefit this provides over the import/export we already have is really worth the effort. I added this to my ToDo list before we had the...
  2. Re: Overload WriteProfileXXX/GetProfileXXX to store settings in XML instead of regist

    INI files are harder to edit by hand and less structured. If I'm going to write a text file anyway XML just seems more modern and easier to read/edit if needed.

    I'm a little concerned about the...
  3. Re: Overload WriteProfileXXX/GetProfileXXX to store settings in XML instead of regist

    Perhaps, but obviously I'm not the only one who wants this functionality as it appears to be pretty common for .NET applications to use XML files for settings rather then the registry.

    If anyone...
  4. Re: Overload WriteProfileXXX/GetProfileXXX to store settings in XML instead of regist

    Our program is a complex video editing/processing app with a TON of settings. When diagnosing an issue it's hard to tell if it's a bad setting or an actual bug causing the issue. Usually our first...
  5. Overload WriteProfileXXX/GetProfileXXX to store settings in XML instead of registry?

    Does anyone know of an MFC class that overloads the CWinApp WriteProfileXXX/GetProfileXXX functions so that settings are stored in XML rather then the registry? I know there is a way to use an INI...
  6. Replies
    15
    Views
    1,195

    Re: Weird "bug" with CStatic controls

    The control was already subclassed, as we offer skinning and everything is custom drawn, but I use the MFC base classes because it makes it easier to lay everything out in the dialog editor and...
  7. Replies
    15
    Views
    1,195

    Re: Weird "bug" with CStatic controls

    We have a video editing app called VideoReDo. The static control in question is the one displaying the current timecode. Double clicking on it brings up a dialog that allows you to jump to any time...
  8. Replies
    15
    Views
    1,195

    Re: Weird "bug" with CStatic controls

    You're right I was using STN_DBLCLICK in the subclass, which is called after the copy. If I use WM_LBUTTONDBLCLK instead then I can catch it before the copy happens.

    Still think this is stupid. If...
  9. Replies
    15
    Views
    1,195

    Re: Weird "bug" with CStatic controls

    Also subclassing the control and handling the double click myself does not work because the copy happens before the double click handler is called. I verified by adding a break point to the top of...
  10. Replies
    15
    Views
    1,195

    Re: Weird "bug" with CStatic controls

    After some research I narrowed it down to the manifest. If you don't include a manifest it doesn't do it, but if you do then it does. However without the manifest the controls all look like crap, so...
  11. Replies
    15
    Views
    1,195

    Weird "bug" with CStatic controls

    OK I just discovered something weird. If you set the "notify" property of a static control to true then any time you double click on that control it copies the text of the control to the clipboard....
  12. Replies
    0
    Views
    352

    Detect if COM interface crashes?

    I have an app that launches and uses another app via COM. Occasionally the other app will crash unexpectedly which will leave my app hung waiting for a reply that is never coming. Is there any way to...
  13. Replies
    2
    Views
    601

    Re: Drag from my app to others?

    Thanks, but I figured it out.

    With slight modification I was able to use the code in this article...

    http://www.codeproject.com/Articles/1951/Drag-and-Drop-between-and-within-a-CListCtrl
    ...
  14. Replies
    2
    Views
    601

    Drag from my app to others?

    I have a batch type application with two lists. The top one is the list of files to be processed and the bottom one is the list of the output files. (with some other status info) I would like the...
  15. Replies
    2
    Views
    1,176

    Passing pointer into ActiveX control?

    I'm writing an ActiveX control. In one of the functions I'd like the user to be able to pass me a pointer to a buffer that they created which I can then fill with data and return a success/error...
  16. Replies
    2
    Views
    775

    Re: Named pipes and COM

    Thanks for the help, but I figured it out. Was nothing to do with COM. My routine was checking to see if the the output file supplied existed and if it did it was deleting it before it actually...
  17. Replies
    2
    Views
    775

    Named pipes and COM

    I have an app which has a COM interface that other developers can use to access the app and perform basic tasks. One of those tasks is saving a file. I had a request from a user who wants to pass in...
  18. Replies
    6
    Views
    3,613

    Re: Capturing stderr output from lib/dll?

    Thanks everyone for your help. I searched through the ffmpeg source code and stumbled across a function which allows you to redirect it's logging functions to a callback function. With that I was...
  19. Replies
    6
    Views
    3,613

    Re: Capturing stderr output from lib/dll?

    OK so the app I'm running here is an MFC dialog based app, not a console app.

    I honestly don't know anything about MinGW, I found some step by step instructions online for building FFmpeg in...
  20. Replies
    6
    Views
    3,613

    Capturing stderr output from lib/dll?

    I have an MFC/C++ program which is linking to the ffmpeg project. I can build the ffmpeg libs/dlls using mingw, but I can't actually debug it or step into it in any way. I'm having trouble with a...
  21. Replies
    1
    Views
    637

    Determine maximum file size allowed?

    Is there a way to determine the maximum allowed file size for a selected disc? I work with large video files and I'm getting complaints that when users attempt to save them to a FAT partition the...
  22. Re: Changing text color of radio buttons and group boxes

    I answered my own question. Turns out that the manifest/theme does prevent you from changing the text color of check boxes, radio button and group boxes. I'm in a bit of a hurry and didn't want to...
  23. Re: Changing text color of radio buttons and group boxes

    I tried setting the code to simply...



    HBRUSH CMyAppDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
    {
    pDC->SetBkMode(TRANSPARENT);
    pDC->SetTextColor(TEXT_COLOR);
    return...
  24. Changing text color of radio buttons and group boxes

    OK this is stupid and probably has been answered a hundred times, but I've searched and I can't seem to find the answer.

    I have a dialog based app with a dark background. I want to set all the...
  25. Replies
    22
    Views
    5,992

    Re: How to know when a file is finished copying?

    Thanks guys, this is all very helpful information.

    Dan
Results 1 to 25 of 111
Page 1 of 5 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


HTML5 Development Center