|
hi all !
how to transfer data between two dialog boxes. ?
if anyone knows ..please reply as soon as possible
thanks in advance,
Abhi
Abhijeet Jadhav
|
|
|
|
|
Are the dialog boxes modal or non-modal ? Do you mean that you have a first dialog box that opens the second one, something like that ? If yes, if you want to 'send' data from the parent dialog to the child dialog, you'll have to add member functions in the child dialog that will be called before DoModal is called.
Ok, the answer is quite unprecise but your question is not really clear, so if it is not what you are looking for, give us some more details
|
|
|
|
|
use PostMessage() or SendMessage()......
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|
|
:-DI Need make a ISAPI Filter programme with VC.The Filter can filter data submitted from client.For example,if I want to filter the bad words 'fake you',when someone submit a message including the bad words 'fake you' from a form,then the filter redirect the url to a specified page.
Who has similar experience!!!
Who can help me?
CoderDream
|
|
|
|
|
may be this help you.
http://www.codeproject.com/isapi/isapiredirector.asp
|
|
|
|
|
I’m about to insert a Win32 window in a CWnd (or more specific an COleControl). I’m an old MFC-coder and not really good att Win32 API. After what I understand I should take care of the HWND instance of CWnd…
How do I make the sole Win32 window to stretch over my CWnd… ?
_____________________________
...and justice for all
APe
|
|
|
|
|
hi all
i have a console app sample .in the code there is a class that must run with the main thread .it does it with the command" class CCall" in the .H file of the app (CCall is the name of the class ).how can i do the same in an mfc app?
|
|
|
|
|
In which language do you program ??
Ok seriously, it is really really difficult to understand what you are trying to say... Do you mean you have a class, and in this class you have a member function which takes a long time to process ? Am I right ??
If yes, you can start a new thread and call this function in the new thread so the user interface of your application won't freeze...
If not, then try to formulate more specifically your question. For example sentence like "it does it with the command" class CCall" in the .H file of the app " doesn't mean anything. A class is not a command...
|
|
|
|
|
Hello,
Do somebody know how to retrieve the bounds of an List Control item in Large Icons mode (using the style LVS_ICON)?
The control offers the method GetItemRect(), which has the options:
- LVIR_BOUNDS
- LVIR_ICON
- LVIR_LABEL
- LVIR_SELECTBOUNDS
I expected, that the option LVIR_BOUNDS should return the whole item rect, but it doesn't. It returns the smallest rectangle, bounding the icon and the current label text. The same results I get by LVIR_SELECTBOUNDS.
There is another method - GetSubItemRect() - but it works only for list controls in LVS_REPORT mode.
Thanks in advance,
Plamen
|
|
|
|
|
Hi folks
How do i redirect stdin stdout stderr for a process (cmd.exe). the usual method (as given in msdn) doesnt seem to give an interactive shell.
help needed.
thanks
|
|
|
|
|
I think you want to read in the standard cosole.
If I am correct, then u can do this by simply open a socket at port no. 512.
anything u write would be sent to standard console for output and anything that is typed at the console would be available for u to read on the socket.
512 is a port that open to the standard console.
Rahim Rattani
Software Engineer,
Matrix Systems (Pvt) Ltd.,
Karachi - Pakistan
|
|
|
|
|
1. 512 is 'rexec' port.It executes single commands non-interactively.
2. I dont want to use any builtin remote cmd execution service/prog.
3. I want to code an interactive telnet server.
|
|
|
|
|
Please tell me why theses lines appear error ?
CPaintView* pView;
pView = (CPaintView*)GetActiveView();
ASSERT(pView);
Thanks in advance
|
|
|
|
|
Did you try to use the debugger ? F9 to set breakpoints, F5 to start the debugger and F11 to step one instruction (if I remember correctly). So like that you will be able to see on which line exactly your code crashes.
|
|
|
|
|
They appear this error:
CPaintView hWnd=???
Epression: (*(CView*)(*pView))
Value: CXX0030: Error: epression cannot be evaluated
Thanks in advance
|
|
|
|
|
??? From where is that coming ?? It has nothing to do with your previous post.
And also here it is because the debugger cannot recognize what you are trying to watch. Try to see on which line of CODE (nothing to do with what you are trying to watch) your program crashes
|
|
|
|
|
Thanks in advance
I will debug my program.
|
|
|
|
|
Hi, I use a richTextBox in a panel to display a little "rtf formatted" info string. I would like to center text vertically so when the user enlarge the Form the text is displayed always on the vertical center of the panel. Here is my string:
// ...
richTextInfo->set_Rtf(S"{\\rtf1\\ansi \\b Info title \\b0\\line Info body text, bla bla bla bla bla...}");
// ...
I have tried \\vertal but doesn't work. Help and tnx in advance.
|
|
|
|
|
i am running my program in debug mode.
at some debug line it shows '?' mark within the debug mark.
and it shows a message "The break point will not currently hit.in validline no"
In fact i couldn't get the result from the line.
is there any restriction over file size. or i have change any settings to overcome this problem.
pls let me know if anybody come across the problem.
advance thanks
Chezhian
|
|
|
|
|
Did you change the source file when you were debugging?
Blog[^]
|
|
|
|
|
Sometimes it does not allow set breakpoint in certain places: comment, brace, macro or so. Try a few lines before and then step by step through the code you are interested.
|
|
|
|
|
i have a CString ="999999999999999.99" and want its equivalent value. i have used a long Double data type. but still the value is rounded off . how do i do that??
|
|
|
|
|
how do you do that ?
CString str="999999999999999.99";
long double ldValue;
sscanf(str, "%lf", &ldValue);
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Hi!
I'm trying to create a small program that diplays all type of OS information, like the OS Language installed, user language, keyboard language, Service Packs installed etc.
I know that some of this info you can find in the Registry but not all.
Does Microsoft have any API calls that makes it easy for me to use?
Maybe some other functions to use.
I've found this API GetUserDefaultUILanguage() that displays the user language used. It returns
an unsigned int value I think, converting it to HEX gives you the language code used.
Please help!
Hachaso
|
|
|
|
|