Has anyone ever put tabstops into the listbox portion of a CCombobox? CListbox::SetTabStops doesn't work. I tried casting the combobox as a listbox but (surprise, surprise)that doesn't work either.
I supppose I could count dialog base units but I'm hoping there's an easier (less messy) way.
I have created a CComboBox object in a dialog. In the dialog class I have added a control variable that the Class Wizard recognizes as a combo box. However, when I attempt to peform a function on the combo box using the dot operator, VisualStudio acts like it doesn't know what a CComboBox is...
I have several checkboxes in a dialog box that I want to disable until the user selects an item from a combobox. The only way I can find to disable a checkbox is from the properties window within ClassWizard.
If your database table is large, another method is to use the bulk field exchange functions. They're a little tricky (at least for me) but are much faster for large amounts of data.
Bulk field exchange requires two arrays for each data column retrieved from a database (in my case, SQL Server). One array holds the data, the other array holds the length of the data in the data column.
What is the length array for? Is it used when pulling data from the arrays and putting...
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.