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

  1. Replies
    29
    Views
    7,359

    Re: Activate MDI window

    I wouldn't post it if I didn't think it would help. You have a function that handles tray notifications. CSystemTray::OnTrayNotification(UINT wParam, LONG lParam). Step through it and see how it...
  2. Replies
    29
    Views
    7,359

    Re: Activate MDI window

    Which is exactly what I said. I showed you the messages you're processing, and they're all working. Add code to make the left button work.
  3. Replies
    29
    Views
    7,359

    Re: Activate MDI window

    Look at the messages you're processing.

    WM_RBUTTONUP
    WM_LBUTTONDBLCLK
    NIN_BALLOONUSERCLICK

    I don't see anything that would handle a single left button click on the try icon.

    You should get...
  4. Replies
    29
    Views
    7,359

    Re: Activate MDI window

    It's really frustrating when you tell somebody what the problem is and they ignore your post.

    I told you where to look
  5. Replies
    29
    Views
    7,359

    Re: Activate MDI window

    Look at the messages you're handling in CSystemTray::OnTrayNotification(UINT wParam, LONG lParam)

    I suspect you probably want to handle some left button messages
  6. Replies
    10
    Views
    1,928

    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...
  7. Replies
    10
    Views
    1,928

    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...
  8. Replies
    15
    Views
    1,308

    Re: debug in release mode

    That doesn't make much sense either.
  9. Replies
    15
    Views
    1,308

    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?
  10. Replies
    15
    Views
    1,308

    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.
  11. Replies
    15
    Views
    1,308

    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?
  12. Replies
    4
    Views
    675

    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...
  13. Replies
    4
    Views
    675

    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...
  14. Replies
    4
    Views
    675

    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 ...
  15. Re: Knowing when a web page has been opened or close

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

    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.
  17. Replies
    7
    Views
    1,055

    Re: FLAT CEdit(EditBox)

    Also, the part of the resource file that describes an edit control created in the resource editor.
  18. 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.
  19. 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.
  20. 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...
  21. 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...
  22. 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
  23. 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...
  24. 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.
  25. 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...
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)