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

Search:

Type: Posts; User: GCDEF

Page 1 of 80 1 2 3 4

Search: Search took 1.56 seconds.

  1. Replies
    10
    Views
    1,204

    Re: Unwanted Toolbar Button

    As I said earlier, the problem isn't likely in the resource file, it's where the toolbar is getting created. If you're using MFC, lookin in Mainfrm.cpp. If you're not, look into whatever framework...
  2. Replies
    10
    Views
    1,204

    Re: Unwanted Toolbar Button

    It's probably in your MainFrm.cpp code. Look for an array called nButtons, and a call to m_wndToolBar.SetButtons(). If you don't see anything there, look for anything in MainFrm.cpp that has to to...
  3. Replies
    15
    Views
    1,259

    Re: debug in release mode

    That doesn't make much sense either.
  4. Replies
    15
    Views
    1,259

    Re: debug in release mode

    Can you explain in more detail what you're trying to do? If you're not debugging the third-party app, why not just debug yours? Why the need to attach to anything?
  5. Replies
    15
    Views
    1,259

    Re: debug in release mode

    Are you trying to debug a third party tool? You can't do that unless you have a debug version of it including their pdb file.
  6. Replies
    15
    Views
    1,259

    Re: debug in release mode

    Why debug in release mode?
    Did you compile and link to include debug info?
    Is there a reason you're using attach rather than starting the app in the debugger?
  7. Replies
    4
    Views
    638

    Re: Why doesn't this code compile?

    Thanks. I don't know how it's being used. It seems to be a boost file. It's a large project I need to make a small change to. I'm going to have to wait till the guy that wrote it comes back from...
  8. Replies
    4
    Views
    638

    Re: Why doesn't this code compile?

    I really don't know what it's supposed to be doing, but changing it to == gave me way more errors. That line makes no sense to me, but as I said, I really haven't used templates, so I don't even...
  9. Replies
    4
    Views
    638

    Why doesn't this code compile?

    Not my code and I haven't used templates much. These two lines

    template <class U>
    static yes_type test(U&, decltype(U(source<U>()))* = 0);

    give the error ...
  10. Re: Knowing when a web page has been opened or close

    Not every browser maintains history. Perhaps you could do something with EnumWindows.
  11. Replies
    7
    Views
    1,028

    Re: FLAT CEdit(EditBox)

    Targetver.h contains one line
    #include <SDKDDKVer.h>

    Look for a difference in stdafx.h between the projects if it can't find that.
  12. Replies
    7
    Views
    1,028

    Re: FLAT CEdit(EditBox)

    Also, the part of the resource file that describes an edit control created in the resource editor.
  13. Re: Coloring Rect of Create(lpszText,dwstyle,&rect,parentwnd,nID) white

    You really need to use the resource editor. You're developing a really bad habit.
  14. Re: How to do flat style of CEdit (EDITTEXT) and CComboBox in CDialog

    I can't tell you anything else at this point. Maybe zip up the smallest project you can so we can take a look.
  15. Re: How to do flat style of CEdit (EDITTEXT) and CComboBox in CDialog

    I don't see that behavior. You can turn WS_EX_CLIENTEDGE off in the resource editor, but it shouldn't be on anyway. WS_BORDER and WS_VISIBLE should be all you need. What version of Visual Studio...
  16. Re: How to do flat style of CEdit (EDITTEXT) and CComboBox in CDialog

    Now look at the numbers you're passing in. Do they make sense?

    If you use the dialog editor, you don't need to call any kind of create. And again, you don't need CreateEx. I only mentioned it...
  17. Re: How to do flat style of CEdit (EDITTEXT) and CComboBox in CDialog

    Let's start simple. What are the arguments the CRect constructor takes?

    FWIW, the resource editor is much easier than doing it this way
  18. Re: How to do flat style of CEdit (EDITTEXT) and CComboBox in CDialog

    No clue how to fix it? Look at the parameters you need to pass in to a CRect constructor and see if the ones you're passing in make sense. You need to figure that one out yourself. I gave a good...
  19. Re: How to do flat style of CEdit (EDITTEXT) and CComboBox in CDialog

    It's not displaying because his CRect arguments are wrong. The bottom is higher than the top.
  20. Re: How to do flat style of CEdit (EDITTEXT) and CComboBox in CDialog

    Look at the order of parameters for the CRect constructor.

    WS_EX_CLIENTEDGE will give you the 3D look you don't want. I only mentioned CreateEx earlier because you were using WS_EX_CLIENTEDGE...
  21. Re: How to do flat style of CEdit (EDITTEXT) and CComboBox in CDialog

    Is there some reason you're not using the resource editor?
  22. Re: How to do flat style of CEdit (EDITTEXT) and CComboBox in CDialog

    It's an extended style so you'll need to use CreateEx
  23. Re: How to do flat style of CEdit (EDITTEXT) and CComboBox in CDialog

    Right click on the edit control and select properties
  24. Replies
    10
    Views
    4,154

    Re: jumble with numbers

    This thread is from 2013
  25. Re: Caret not displayed in CEdit control with focus when dialog initially displayed

    Maybe it's just me, but a CDialog having a CFormView as a member seems kind of wonky to me. I don't know if it has anything to do with your problem though. Why did you set it up that way?
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)