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

Search:

Type: Posts; User: Mike Harnad

Page 1 of 80 1 2 3 4

Search: Search took 0.33 seconds.

  1. Replies
    0
    Views
    2,466

    Examine/validate MFC extension DLL

    An application that I work on allows 3rd party developers to write dlls that add value to our product. The only requirement we have is that the DLL must be an MFC extension dll. This, of course,...
  2. Replies
    2
    Views
    1,942

    Re: IPogressDialog

    Thanks for the reply. However, I don't think your sample is applicable here. IProgressDialog creates a separate thread to do its work. And, there is no mention in the documentation that using a...
  3. Replies
    2
    Views
    1,942

    IPogressDialog

    I am using an IProgressDialog object to reflect the progress during a long operation. Through experimentation, I've noticed that the Cancel button is not responsive if I pass a non-NULL handle as...
  4. Re: Visual Studio keeps asking to rebuild project

    All,

    There's no reason to guess at the cause. If you follow the link in my prior response and implement the IDE configuration tweak it speaks of, you'll know what the exact cause is.
  5. Replies
    1
    Views
    1,280

    Re: OpenGL, bugged cursor

    If I were you, I would look to OpenGL.org for the info you need. They've got plenty of resources there.
  6. Replies
    3
    Views
    1,828

    Re: Issue with timer event handler - Vc++

    Since your timer consumes most of the processing time (ie. every 1ms), you have effectively suspended the UI thread preventing it from updating the form in real time. With heavy cpu usage, you'll...
  7. Re: Is there a Panel to use in Dialog App?

    If I were you, I'd take the advice of GCDEF. Using a text control to define "child" areas on a dialog is pretty standard practice. You may run into some rendering and message problems if you use a...
  8. Replies
    5
    Views
    8,668

    Re: Change Group Box caption text color

    Vlad, that's a good point. I assumed he meant a group box control.
  9. Replies
    5
    Views
    8,668

    Re: Change Group Box caption text color

    Have a look here.
  10. Replies
    12
    Views
    5,764

    Re: Help Drawing Custom Radio Button

    As Victor stated, you typically derive your own control class and modify the code accordingly. I usually chage styles within the PreSubclass event. Once you've changed the style, MFC will recognize...
  11. Replies
    12
    Views
    5,764

    Re: Help Drawing Custom Radio Button

    You can modify the button style yourself and add BS_OWNERDRAW using ModifyStyle (). MFC will then provide you with the opportunity to render the radio button any way you like.
  12. Replies
    12
    Views
    5,764

    Re: Help Drawing Custom Radio Button

    Actually, it is a CButton. As I stated earlier, a radio button is a style (ie. BS_RADIOBUTTON) applied to a CButton. Just a matter of semantics.
  13. Replies
    6
    Views
    2,310

    Re: Application errors shown in event viewer

    luk, you guessed right. The server that runs in the background is accessible from the task bar. It has a menu of options, one of which is to view our event log. Note: the event messages are not...
  14. Re: My App crashes in Windows 7 and Windows Vista

    You may also want to try Microsoft's Application Verifier. It's not the best way to debug, but, it can spot things that are missed by other means.
  15. Replies
    6
    Views
    2,310

    Re: Application errors shown in event viewer

    As ovidiucucu says, it's not an easy task to use the Windows event logging api. That's why I wrote my own event logging mechanism. Surprisingly, it's not difficult. I exported a method that uses...
  16. Replies
    12
    Views
    5,764

    Re: Help Drawing Custom Radio Button

    Yes, a radiobutton is a style applied to a CButton, so, you'll need to make sure BS_OWNERDRAW is also applied.
  17. Replies
    12
    Views
    5,764

    Re: Help Drawing Custom Radio Button

    Did you specify BS_OWNERDRAW for the button style?
  18. Replies
    12
    Views
    5,764

    Re: Help Drawing Custom Radio Button

    Have you stepped through the OnDrawItem code? Is your code executed?
  19. Replies
    2
    Views
    866

    Re: MFC GUI style XP

    VS 2008 changed the way theme support is handled. Try adding this to you stdafx.h file:


    #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls'...
  20. Re: Can I make the .sdf file subject to project cleaning?

    Custom build steps allow you to apply batch commands to a project or files. For example, we use it to copy target files to another folder.
  21. Re: Visual Studio keeps asking to rebuild project

    In VS2010, this problem is typically casued by a header file that has been physically deleted, but, not removed from the project. You can determine what header it is by enabling Project System...
  22. Re: Can I make the .sdf file subject to project cleaning?

    You might be able to accomplish that by adding a custom build step. I'm not sure what the Express versoin will allow, and, keep in mind, you will be deleting some potentially helpful information...
  23. Replies
    1
    Views
    3,164

    Re: DirectX9 FullScreen Issues

    Try running with the DirectX debugging applet. It should point out any errors you may have.
  24. Re: Debug control panel applet on Win7

    I have resolved this. I did not realize that the process I was debugging was a 32 bit process on 64 bit Win7. Therefore, I needed to start RunDll32 from SysWow64 and load the control panel applet...
  25. [RESOLVED] Debug control panel applet on Win7

    Does anyone know how to debug a control panel applet on Win7? The typically way of using RunDLL32 does not appear to work. I can't set breakpoints and it appears that UAC looks upon RunDll32 as a...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured