u have to use DataGridTextBoxColumn object which has width property
after setting width u have to add it to DataGridTableStyle object
and finally u have to add this DataGridTableStyle object to datgrids TableStyles
*sigh* buy a book, and work through it. You're never going to learn if you come to these forums without the slightest idea of how to apply the things people tell you.
If you double click on a button in the designer you will create an event for the click. What do you want the class to do ? You can have an instance as a member variable, or create a local instance in that class, and call it.
If you have results from the class and want to show them, the easiest way is a messagebox, otherwise you need to create a new form class. If you do this, unless the operator class instance is a member for some reason, I'd do the operation inside that form, so your event just shows the dialog and the form itself performs the operation and shows the result. Otherwise, I'd pass the result through the constructor.
And again, if you don't know what any of that means, buy a book and work through it.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
I am using MDI form, The first 20% of the form am displaying Treeview control and in the rest of the portion am displaying a mdiChild form. The mdiChild form has got few UI controls on which tab order is set.
Now the issues is, when we hit on tab, it revolves within the child form. How can i make it to go to treeview control once the last control on the child form is focus? ie. on being on the last control and hit tab, the focus should go to the treeview.
Any help is highly appreciated.
Thanks in advance for any guidance and suggestion
I call an external program over the instruction Process.Start (...).
Is there a possibility to modify the header line of the called program . I know the MainWindowHandle etc. but unfortunately i can only pick out and not change the title.