|
Hi all,
i am new in vc+.
I would like to know that how to Data transfer from one dialog to another dialog in mfc.
rajesh
|
|
|
|
|
many ways are there like sending message with parameter as required data etc.
one direct way is
dlg_Two.data1 = dlg_One.data1;
There is no spoon.
mail
|
|
|
|
|
I would like to explain my problem.
I made two dialog boxes(dlg1 and dlg2). dlg1 contains one text box and one command button (Click).dlg2 contains only one text box for display value.
I want to do that,when I press the Click button then dlg2 should be called and displayed the value of text1 of dlg1 in textbox of dlg2.
How to do that?
rajesh
|
|
|
|
|
CDlg1::OnBtnClick()
{
CDlg2 dlg;
GetDlgItem(ID_TXTBOX)->GetWindowText(dlg.m_sTxt1);
//make sure to associate "m_sTxt1" to the corresponding textbox inside CDlg2.
dlg.Domodal();
}
There is no spoon.
mail
|
|
|
|
|
how to get the push button coloured and bitmaps in button in dialog boxes
|
|
|
|
|
If you look here http://www.codeproject.com/buttonctrl/[^]
There are loads of examples of button controls. You may need to take code from a couple of sources in order to achieve what you want but it is all there.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)
|
|
|
|
|
dear all,
i want to know whether POSITION of a element in a CList will be the same or not after below operation.(so that, i can get back target element after these operation)
first i saved POSITION of a element in CList.
then, i do below operation.
1. insert new element b4 target element.
2. delete element b4 target element.
3. insert new element after target element.
4. delete element after target element.
anyone can help?
thanks,
jim
|
|
|
|
|
Hi all,
Any one know how to know the type of the fixed disk, whether it is IDE or SCSI ?
If any one knows how reply quickly plz
Note:
I don't want to use WMI...
Thanx
Ahmad
|
|
|
|
|
I don't know of a way. I don't even know a place where Windows reports the drive's interface. Applications typically don't care about such low-level details.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
please help me to write a service prg with dependencies.
i have written two window service .. which run properly.
but when i try to link the first service with other one .. it arise an error 1083
i have given the name of the "second service " has my dependence in create service();
what else i have to do ???????
please send me sample program ....
sowmya
|
|
|
|
|
Did you install both the services ?
There is no spoon.
mail
|
|
|
|
|
Error 1083 - The executable program that this service is configured to run in does not implement the service.
Can you supply what you have used in the call to CreateService
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)
|
|
|
|
|
I'm getting the foll error msg:
Compiling resources...<br />
E:\effecto\Effect_Src\Effecto.rc(184) : fatal error RC4214: Codepage not valid: ignored<br />
Error executing rc.exe.<br />
<br />
Effecto.exe - 1 error(s), 0 warning (s)
pls help me.. V.G
v.g
|
|
|
|
|
Hello,
I have a image in my MFC app and I need to print out the image how can I do that?, I can print text but not image.
Please help me.
|
|
|
|
|
Wot kind of image you have, do you have a handle to that image, or just the location of tht image .. ?
There is no spoon.
mail
|
|
|
|
|
|
|
Dear :
is it possible to do Response.Redirect("login.aspx") functionality in Visual C++ ?
Regards
|
|
|
|
|
some info required. From where you want to do this. Isapi extensions or com dll loaded by ur asp page ...?
There is no spoon.
mail
|
|
|
|
|
Oh! Sorry, I need to implement this inside ISAPI Filter.
Regards
|
|
|
|
|
DWORD CYourFilter::OnPreprocHeaders(
CHttpFilterContext* pCtxt,
PHTTP_FILTER_PREPROC_HEADERS pHeaderInfo
)
{
if (bRedirect)
{
TCHAR *szRedirectUrl[]= _T("http://url/xxx.asp");
pHeaderInfo->SetHeader(pCtxt->m_pFC, "url", szRedirectUrl);
return SF_STATUS_REQ_HANDLED_NOTIFICATION;
}
return SF_STATUS_REQ_NEXT_NOTIFICATION;
}
There is no spoon.
mail
|
|
|
|
|
|
hi all,
i am looking for a complete sample for Zlib compression/decompression.Anyone knows the source of sample?
Thanks in advance
Abhishake
|
|
|
|
|
Try here http://www.winimage.com/zLibDll[^]
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)
|
|
|
|
|
Recently,I see the program written by other people.
At his program,there is a function WinMain which has a parameter lpCmdLine.And it use this parameter at his program.
I want to use the lpCmdLine parameter at my dialog based program. But I don't know how I can get the value of this parameter at my dialog based program.
Could you tell me how?
Which function provides the function ?
Thanks!
The WinMain function at his program is as follows:
int PASCAL WinMain(HINSTANCE hInstC, HINSTANCE hInstP, LPTSTR lpCmdLine, int nCmdShow)
{................}
free like a bird
|
|
|
|