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.01 seconds.

  1. Replies
    15
    Views
    510

    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...
  2. Replies
    15
    Views
    510

    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...
  3. Replies
    15
    Views
    510

    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...
  4. Replies
    15
    Views
    510

    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...
  5. Replies
    15
    Views
    510

    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...
  6. Replies
    15
    Views
    510

    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....
  7. Replies
    0
    Views
    291

    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...
  8. Replies
    2
    Views
    442

    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
    ...
  9. Replies
    2
    Views
    442

    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...
  10. Replies
    2
    Views
    996

    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...
  11. Replies
    2
    Views
    673

    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...
  12. Replies
    2
    Views
    673

    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...
  13. Replies
    6
    Views
    2,905

    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...
  14. Replies
    6
    Views
    2,905

    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...
  15. Replies
    6
    Views
    2,905

    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...
  16. Replies
    1
    Views
    613

    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...
  17. 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...
  18. 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...
  19. 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...
  20. Replies
    22
    Views
    4,862

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

    Thanks guys, this is all very helpful information.

    Dan
  21. Replies
    22
    Views
    4,862

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

    I just ran into an issue today where I was testing the program with this setup. I cut and paste 6 files into the watch folder. For some reason the program hung up on one of them at the point where it...
  22. Replies
    22
    Views
    4,862

    How to know when a file is finished copying?

    OK I have a folder watcher type program which uses a simple timer to check for new files being added to a directory every 30 seconds. The problem is that there is no way, at least that I can find, to...
  23. Replies
    4
    Views
    690

    Re: Passing 64bit int via Windows message

    Thanks guys. I got it working using LARGE_INTEGER.

    Dan
  24. Replies
    4
    Views
    690

    Passing 64bit int via Windows message

    I need to send a private message from a control class back to my main window via PostMessage. This message needs to carry a 64bit int value that indicates the current position of the control. (it's a...
  25. Replies
    7
    Views
    859

    Re: Use a DLL without the .h/lib

    I've tried that many times. I even talked to there head of engineering at CES once and he said they'd be willing to get me something to do what I want. But they never came through. (that was 2 years...
Results 1 to 25 of 106
Page 1 of 5 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center