Hi Everyone. I have a dialog box with a list control; populated with the contents of a database, an "Edit Trade" button and "Delete Trade" button. I select a item in the list control and then click "Edit Trade" This generates another dialog box, Edit Trade Dialog...
Hi,
I'll give an overview of my program. In my FormView class the user clicks the "Find Trade" button. This generates a "FindTrade" dialog box which has a list control populated with the contents of a database as well as an "Edit" button.
The user selects...
Hi,
A short introduction to the progam I'm working on. I have a Form View with combo boxes and edit contols. The combo boxes, Buyer & Seller, are populated with the contents of one the tables, Customer Table, in my data from my data.
I also have an "Add" button on my form view...
Hi,
I have an SDI application with several edit and combo boxes which the user fills in. I also have an "Add Transaction" button that a user clicks to updates a database with the contents of the edit and combo boxes. What I'm trying to figure out is how do I set the edit and combo...
Hi,
I have a button and menu item that carry out the same procedure. My question is the proper way to code for this. Currently I have two seperate functions OnEdit()for the button Edit and OnEditPerson() for the menu item Edit. Is this the acceptable way to code. Both functions are in my...
Hi,
I'm trying to populate a list control within a dialogbox with the records in a database. The user clicks on a "Show Employee List" button and a dialogbox appears. I'm trying to populate the the list control within DoModal().
The following runtime error was generated when...
Hi,
I'm stuck on problem. When I click on an item in list control I want to enable a menu item. I have a menu selection: option|Add|Edit|Delete. When the program starts Edit and Delete should be diabled. When I select an item in the list control, Edit and Delete should be enabled...
Hi,
I'm trying to get a better understanding of this function.
In MSDN: MoveFirst() call this member function to make the first record in the first rowset the current record.
I'm getting stuck on the term rowset. What is meant by the term "first rowset"
Thanks,
Hi,
Is there a limit to the number of rows that can be added to a list control? I'm populating my list control with the contents of a data base. Not all the items in the database are being added.
Hi,
I'm having the following problem converting 0.000025 and other numbers with 0.0000xx format to a string and populating a list control with the value. I'm retrieving the information from a database
Here is the code I'm using in my PopulatList(). I works with 1.0000025.
void...
Hi,
I have a guestion about designing a Access database that will be used by a windows program. In my case I'm designing a database that will have information about the loans of a bank has: name and address of customer, start date and maturity date of the loan, amount and interest rate...
Hi,
I have a guestion about designing a Access database that will be used by a windows program. In my case I'm designing a database that will have information about the loans of a bank has: name and address of customer, start date and maturity date of the loan, amount and interest rate...
Hi,
Can anyone point out which type of control will allow me to uses the return key when entering text. My program is set up as follows: Click on an edit button and a dialog box appears. This dialog consists of various edit controls for entering a single line of text. I'm looking for a...
Running Windows 98 on a HP 500MHZ. When I boot up now the desktop does not appear. Tried alt,ctrl,delete to see which apps were running. One is called msgloop. Tried using Nortons recovery disk and got a CMOS error message. This problem happened after I was on the internet and ended up...
Hi,
I'm trying to format the date I am typing into an edit box to read mm/dd/yy. The code I have below does insert the forward slash where I want. The problem occurs when I use the back space key or arrow key to move through the text to do any additional editing.
The way I originally...
Hi,
I would like to change the behavior of a ComboBox. I would like the height of the drop down box to reflect the entire list of items. Currently about five appear and I have a small area through which to view my selection.
Thanks,
Soutine
Hi,
I'm would like to initialize a ComboBox with the contents from a table in a database. Has anyone seen a good tutorial on how to properly do this.
Thanks,
MPSoutine
Hi,
I'm trying to retrieve the date in the first record in a recordset and set the date in CMonthCalCtrl object to the retrieved date. I'm using: TmpDlg.m_mcCal.GetToday(TmpSet.m_Date) but this line is causing a runtime error:
Any insight into what I'm missing
MPSoutine
The Error message...
Hi,
I down loaded an MFC example from the MSDN website. I get the following error message when I compile:
LINK : fatal error LNK1104: cannot open file "uafxcwd.lib"
An MSDN search show this to be a Unicode library but I am not familiar w/ which header file to use.
Thanks,
MPSoutine
Hi All,
I've never used an Active X control before. I'm working on a simple dialog based application with a Calendar Control. I declared a member variable, m_Calendar, for the control as type: CMonthCalCtrl. I assume the next step is to use the methods in the CMonthCalCtrl to respond to the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.