Follow up:
If you'r going the hard-coded struct route, something like the following will work
#include <iostream>
using namespace std;
struct X
{
int i;
char* str;
};
X Tbl[3] =
{ { 1, "First" },
{ 2, "Second" },
{ 3, "Third" } };
int main()
{
for (...
Hi,
Could you clarify the relationship between 'Num' and 'Parameters' in your post? Are these hard-coded values or will they be loaded at run-time? I'd make it a class that has a Find/Search method - better to encapsulate that data and functionality inside a class.
You can use the Height and Width properties on the Screen object to get the screen dimensions in twips. The Screen object also will give you the twips-per-pixel in each direction. With this information, you can calculate the window dimensions (in whatever units you choose) and resize the...
Use .NET - it supports object introspection. Seriously, you COULD write some code to call QueryInterface on the object's class to get the public interface. As far as the variables, you'd have to serialize them one at a time - just like it's done in a user control.
I'm not an Excel expert, but you could probably catch the Selection_Change event on the worksheet and change the selected cell to the one containing the combobox if they haven't made a selection there yet.
Add the Microsoft RichTextBox component to your project, drop an instance onto your form, then insert the following code into Form_Load():
Private Sub Form_Load()
With RichTextBox1
.Text = "This is a test of multiple colors"
.SelStart = 1
.SelLength = 4
.SelColor =...
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.