Type: Posts; User: werpa
Search took 0.02 seconds.
April 8th, 2009, 12:04 PM
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...
Thanks, kirants. This was a very good explanation of how to make this work. I appreciate your thoroughness and complete answer. It worked great!
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.
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...
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.
April 30th, 2007, 10:33 AM
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.
April 25th, 2007, 09:58 AM
I could post parts of it. Anything in particular that you would like to see?
April 25th, 2007, 09:54 AM
Thank you, Marc G. I am unable to post it both by size and by legal issues.
April 24th, 2007, 11:18 AM
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.
April 24th, 2007, 10:57 AM
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...
April 23rd, 2007, 05:24 PM
I am calling SetCurFocus from the CWinApp class called CPCTesterApp.
The message map in CPCTesterApp has a call:
Here is the code for...
April 23rd, 2007, 12:09 PM
Thank you for your suggestion. Unfortunately, it doesn't work. The code ASSERTs because my m_hWnd returns false on the underlying IsWindow() call.
April 20th, 2007, 03:02 PM
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.
April 17th, 2007, 04:42 PM
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.
April 17th, 2007, 04:32 PM
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...
April 17th, 2007, 02:16 PM
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...
March 13th, 2007, 01:52 PM
Great posting. This worked well. Thank you.
March 12th, 2007, 04:54 PM
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...
February 20th, 2007, 03:57 PM
I've create a static library. In it, I make the following call:
The entire library compiles and links to create a fine static library.
When I link my static...
February 13th, 2007, 02:11 PM
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...
February 6th, 2007, 03:18 PM
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...
February 6th, 2007, 03:15 PM
Ejaz: Thanks for the link. It looks like a solution using CControlBar.
February 6th, 2007, 03:12 PM
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...
February 6th, 2007, 03:00 PM
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...
February 2nd, 2007, 03:59 PM
This works. Thanks much. BTW, this is an MFC app. Is is more appropriate to use AfxLoadLibrary?
Click Here to Expand Forum to Full Width