Drawing with an XOR operation is the usual way of restoring the original bitmap - just do the same XOR draw again. Otherwise, the original draw overwrites the bits where the ellipse goes, and you have to redraw the window to remove the ellipse.
I m using RFX_Text function to retrieve the resultset from the query sp_who (back end is SQL Server 2000). But 3 columns of sp_who returns me nchar data due to which I m getting "Unicode conversion failed" error.
Please suggest me a way to deal with unicode characters.
The member variables m_strLoginame, m_strHostname and m_strDbname are declared as CString.
GetParent() allows you to retrieve a handle to the specified window's parent or owner.So with this pointer that you create ,you will be able to access the data(of the public section)and the member functions of the class that are in the public section of the owner.
Suppose class A is your class from where you are calling another dialog.Then the header file for your called class should be included in A.h(Believing that this is the default header file for class A that you create.)
Somethings seem HARD to do, until we know how to do them. _AnShUmAn_
Now i want when i click these function button other window or .txt will open
and from there i will call other finction to display data .
But as i am new to vc++ I dont know hopw to achive these.
These is second function
// TODO: Add your command handler code here
Do you want to open an external application eg Notepad to display the text file(Use ShellExecute in this case)
If you want to show the text somewhere else you need to pass a pointer to another class from where you want to access the functions.
in wartzDlg.h include MyNewDlg.h(Supposing you name your class this way)
in MyNewDlg.h include wartzDlg.h . Create a pointer for wartzDlg in the header file MyNewDlg.h like CwartzDlg *myDlg;
Now when you call this new dialog from wartzDlg
I have captured image buffer frames from webcam and I want to store these as mpeg video format (.mpg). Please help me with how way to convert a image buffer as byte that captured from webcam to a mpeg format frame and store this as mpeg video?
Thank in advance!
Last Visit: 31-Dec-99 18:00 Last Update: 11-Apr-21 18:20