|
Hi,
I have done live video capturing by DirectX.Capture class but the video quality is poor. The previewing video stream is having small size of squares along the movie character's what have to be do for this. Please give me idea to solve my problem.
Advance Thanks
Best Regards.,
-- modified at 6:51 Friday 16th June, 2006
|
|
|
|
|
I have a form with two DataGrid controls. When a user selects a row in DataGrid1, DataGrid2 is populated with child data using a filtered DataView object.
I also have certain criteria that allows me to preselect a "default" row of data in DataGrid2.
So basically user clicks on a row in DataGrid1, DataGrid2 is populated with all valid child data, and then the program also automatically selects a row in DataGrid2 that in most cases will be the correct selection. But the user also has the choice to change the selection in DataGrid2 before continuing.
The code works fine - the CurrentCellChanged event in DataGrid1 correctly populates all rows into DataGrid2 and then additional code correctly "pre-selects" a default row in DataGrid2.
In most cases the user will simply accept the default selection in DataGrid2, but they still need to be able to review the programmatic default selection before they accept it.
The problem is I can preselect a default row in DataGrid2, but that selection may not always be within the rows that are visible in DataGrid2.
What I want to do is ensure that the preselected (programmatically selected) default row in DataGrid2 is always visible without the user actually having to scroll down to find the preselected row.
Is this possible???
TIA!!!!
|
|
|
|
|
Hi to all
I am rading text file ...... line by line by using
string line = rd.ReadLine();
but line contain special character like \t\r\n I want to remove all the character from that line .. HOw it possible
Yogesh
|
|
|
|
|
Use the String.Replace() method.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
what does this mean?
Additional information: The form that was specified to be the MdiParent for this form is not an MdiContainer.
I tried to assign a class to be the MdiParent of a form and I got that message.
|
|
|
|
|
check that the form to which u r trying to assign as mdiparent
should have its IsMdiCotainer property true.
rahul
|
|
|
|
|
Set your parent form's IsMdiContainer property to true.
Regards,
Wasif Ehsan.
|
|
|
|
|
Hi..
I want to use my custom class ( that contains collection ) as DataSet.
I will send the dataset to report.
How can i do that?
Thanks.
mca
|
|
|
|
|
Create a method in your class which creates/returns a DataSet containing the current state of the object.
Josh
|
|
|
|
|
its a solution but :
there are classes/collections in main class and the sub classes/collections also contains classes/collection..its like a tree and i dont want to do that manualy
by your solution i must write methods to all sub classes/collections in the main class
mca
|
|
|
|
|
Is there some one here who knows of a component that works like the score in cubase.
Let me explain:
I want the capability to add and remove "boxes" boxes which should be possible to drag against a "timeline"
please look at this simple picture for explanation:
http://img140.imageshack.us/img140/6339/example8rm.jpg[^]
|
|
|
|
|
u can use lables to add dynamicaly at runtime
and can drag it run time using mouse.
rahul
|
|
|
|
|
Basically you're talking about a user control. No control can drag with the mouse by itself, you need to code this behaviour.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Thanks for your answers,
I am about to implement this behaviour with an ownerdrawn component, built upon one "bar" class, and one "container" class.
I am just asking to see if you know of, or ever have seen a component with these capabilities (or atleast somewhat close to these capabilities)
or if you have any suggestions on how to build this component. I am NOT going to use labels.
Also, the bars have to be containers for other objects which can be retrieved by clicking and so on...(this ain´t a problem though)
|
|
|
|
|
I get the mouse position using Control.MousePosition. How can I convert this global mouse-cords to a windows local cords?
_____________________________
...and justice for all
APe
|
|
|
|
|
Screen coordinates to window coordinates: Control.PointToClient
Window coordinates to screen coordinates: Control.PointToScreen
So you need this:
<br />
windowRelativePosition = ctl.PointToClient( ctl.MousePosition );<br />
_____________________________________________________________________________
I don't expect too much, all I want is your vote for Halbsichtigkeit.
|
|
|
|
|
Just Perfect!! Thanks!
_____________________________
...and justice for all
APe
|
|
|
|
|
I want Code for Repeter Control
suresh babu.k
|
|
|
|
|
|
|
|
|
|
J4amieC wrote: Talking to yourself is the first sign of madness.
Especially if it's a dialog...
---
b { font-weight: normal; }
|
|
|
|
|