Compiler: Visual Studio Standard Edition 4.0
My program uses 10 edit controls three of which are read only and 2 push buttons. I am using the tab-stop style
controls. My problem is that when navigating the controls
with the mouse the program hangs after clicking each input
control about six times. If I navigate the controls with the tab key I don't have this problem at all. This program
performs calculations for building an antenna for amateur
radio use and includes a graphic of the antenna.
If I process WM_LBUTTONDOWN in the main window 40-50 times the program hangs. So it happens even if I'm not using the edit boxes. Sorry if I'm not making everything clear. The user
enters values and then presses the calc button for one calc and does the same for another
calculation. Two sets of edit controls and two push buttons.
My problem is that when navigating the controls with the mouse the program
hangs after clicking each input control about six times
Are you clicking it 6 times in succession, or clicking it once to gain focus then clicking some other control then some other control etc round-robin style until one of them has been clicked 6 times?
Member 11145709 wrote:
This program performs calculations for building an antenna for amateur radio use and includes a graphic of the antenna.
Does that have anything at all to do with the problem? If these calculations and image drawings are not taking place until a "go" button is clicked, then you can omit this part from consideration. Otherwise, if you are performing calculations and drawing images in response to controls receiving/losing focus or changing content, therein may be where you need to look.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
The graphic is simply used as a diagram of the antenna that pictures the dimensions needed
for the equations. I do mean that values are plugged into each field six times or so before
the program hangs using the mouse to select each field. So, if the user does a lot of playing
around with different dimensions and frequencies during the same session and uses the mouse to change from one field to another the program might hang.
Is there a manual or web site or book or ... that has describe office automation classes for C++?
I mean classes like(for Excel) :
because the method parameters names is not named good, and in MSDN there is no complete reference like MFC classes.
I use word and excel automation in our MFC app
Hi, I thing when you say poniter its pointer.
All strings and arrays in C are pointers so you cant change it.
However if you want to create a string otherwise you can use malloc, with malloc you can create one array of any size, you can see it here
But you have other way to do it, if you want to read a string for keyboard you may be need to use strdup() from string.h
i want reserve without chang index for array
exmple with change index: char array;
i want use (strncat & strncpy with for)...for Reverse string
but i don't know how i can do this
strncat(****) or strcat(***)
or strncpy(***) or strcpy;
. Create a List [ Create a list that will be empty at the creation time. Make void create( void ) function to achieve this task. ]
2. Determine whether the list is empty. [ Make bool empty( void ) function that shows whether the list is empty or not.]
3. Insert a Value
at the start of the list [ Make void addatstart( int ) function to insert value at the start of the list.] at the given location [ Make void addatspecific( int, int ) function to insert value at the specific location in the list.] at the end of the list [ Make void addatend( int ) function to insert value at the end of the list.]
at the start of the list [ Make void deleteatstart( void ) function to delete value from the start of the list.] at the given location [ Make void deleteatspeific(void) function to delete value at the specific location of the list.] at the end of the list [ Make void deleteatend(void) function to delete value at the end of the list.]
5. Size of the List [ Make int size(void) function that will return the size of the list.]
6. Search value from the list. [ Make void search( int ) function that will search the given value in list.]
7. Swapping two values of the list. [ Make void swap( int first_location, int second_location ) function that will swap the values at the given location from the list.]
8. Display the list [ Make void search(void) function that will display the list values.]
Sorry, but no one is going to do your homework for you. Make an effort to solve the problem for yourself and people will try to help you when you get stuck, but you are expected to do most of the work. After all, an assignment is designed to test how much you have learned, not how much we know.