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

Search:

Type: Posts; User: werpa

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    1,516

    Close web site pop-up window

    I sure could use assistance:

    I am writing Java code to access a particular web site page.

    After logging into the site, the IE browser (or the web site) pops-up a little window that requires...
  2. Replies
    7
    Views
    488

    Re: How-to make an MFC App into a Console App?

    Thanks, kirants. This was a very good explanation of how to make this work. I appreciate your thoroughness and complete answer. It worked great!
  3. Replies
    7
    Views
    488

    Re: How-to make an MFC App into a Console App?

    Thank you, everyone. Your suggestions worked great. I have incorporated them and it is a simple fix. It works fine and does what I want it to do.
  4. Replies
    7
    Views
    488

    How-to make an MFC App into a Console App?

    I've made a robust, full-featured MFC SDI app.

    Now, a new request requires the app to accept command-line parameters for batch processing.

    The batch processing allows no user interface. In...
  5. Replies
    14
    Views
    1,061

    Re: Tab via menu item selection.

    Thank you, Mark for your help.

    These methods are called by the user through a menu selection. So the tabs exist before the calls are made.
  6. Replies
    14
    Views
    1,061

    Re: Tab via menu item selection.

    Thanks Marc for reviewing the code.
    The First Section is CScreentestTesterApp.CPP.
    Then follows PCScreenTesterView.h and PCScreenTesterView.cpp. Finally is shown CUtility.h and CUtility.cpp.
    The...
  7. Replies
    14
    Views
    1,061

    Re: Tab via menu item selection.

    I could post parts of it. Anything in particular that you would like to see?
  8. Replies
    14
    Views
    1,061

    Re: Tab via menu item selection.

    Thank you, Marc G. I am unable to post it both by size and by legal issues.
  9. Replies
    14
    Views
    1,061

    Re: Tab via menu item selection.

    By the way, if I make mytabctrl a static variable, SetCurFocus works. But this doesn't appear to be a good reason for making mytabctrl a static.
  10. Replies
    14
    Views
    1,061

    Re: Tab via menu item selection.

    Thank you, Marc G, for your patience. I have tried what you suggest. It fails for the same reason: m_hWnd is invalid.

    Here is my belief: The ON_COMMAND call in CWinApp creates a new instance...
  11. Replies
    14
    Views
    1,061

    Re: Tab via menu item selection.

    I am calling SetCurFocus from the CWinApp class called CPCTesterApp.

    The message map in CPCTesterApp has a call:
    ON_COMMAND(ID_VIEW_NOTES, &CPCTesterApp::OnViewNotes)

    Here is the code for...
  12. Replies
    14
    Views
    1,061

    Re: Tab via menu item selection.

    Thank you for your suggestion. Unfortunately, it doesn't work. The code ASSERTs because my m_hWnd returns false on the underlying IsWindow() call.
  13. Replies
    14
    Views
    1,061

    Tab via menu item selection.

    I need to move to a different tab via a menu item selection.

    The user needs to be able to change via the menu selection.

    My current CTabCtrl changes tabs with a mouse and does it well.
    ...
  14. Replies
    4
    Views
    829

    Re: ASSERTs are killing my app!

    I discovered my issue:
    In the constructor, I pass in a pointer to a CSingleLock. The pointer is to a static member within the consuming (calling) class. Passing a CSingleLock is the problem.
    ...
  15. Replies
    4
    Views
    829

    Re: ASSERTs are killing my app!

    I use the wrapper as a local variable within each method that I wish to control/block. When the method goes out of scope, the destructor calls and unlocks the CSingleLock.

    I discovered the...
  16. Replies
    4
    Views
    829

    ASSERTs are killing my app!

    I am using CCriticalSection and CSingleLock in an app. I have created an object and pass into it a CCriticalSection from the main app. Then I make a thread. The thread constantly writes data to some...
  17. Re: MFC Printing from Bottom to Top (vertically) how to?

    Great posting. This worked well. Thank you.
  18. MFC Printing from Bottom to Top (vertically) how to?

    I'm looking to use MFC's DrawText or other API to print text on the left side of a graph vertically from bottom to top (90 degrees turn). I'm finding little help for it on the web. This can be done...
  19. Replies
    0
    Views
    1,361

    Question on LNK2019 -- unresolved external symbol

    I've create a static library. In it, I make the following call:

    wcsstr(DevPath, Device);

    The entire library compiles and links to create a fine static library.

    When I link my static...
  20. Replies
    10
    Views
    1,523

    Re: MFC SDI and Dialog Boxes

    Hello everyone:

    EJAZ's link above gave me exactly what I wanted: I have five Tabbed Windows in a SDI document. I can easily switch between all five windows be clicking on the tab. No two windows...
  21. Replies
    10
    Views
    1,523

    Re: MFC SDI and Dialog Boxes

    GCDEF: Each dialog box is modal because it displays results from a separate engine running beneath the dialog. Only one of the 5 engines can run at any one time. The SDI ties the different engines...
  22. Replies
    10
    Views
    1,523

    Re: MFC SDI and Dialog Boxes

    Ejaz: Thanks for the link. It looks like a solution using CControlBar.
  23. Replies
    10
    Views
    1,523

    Re: MFC SDI and Dialog Boxes

    The app needs a menu bar.

    Each dialog is a sub app in and of itself.

    It needs the ability to full desktop maximize and minimize (although I can work around it.)

    I am using a menu View...
  24. Replies
    10
    Views
    1,523

    MFC SDI and Dialog Boxes

    I want to create an application that has 5 dialog type windows in an SDI format. I need the dialog tabs so that the user can click on the different dialog window tab. Furthermore, I can not have any...
  25. Re: Linking question on NcFreeNetconProperties(NETCON_PROPERTIES*);

    This works. Thanks much. BTW, this is an MFC app. Is is more appropriate to use AfxLoadLibrary?
Results 1 to 25 of 33
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center