|
Try saving the files in the folder C:\Users\<user name>\Documents\Visual Studio 2010\Settings .
I'm not sure if this file includes the toolbox settings.
|
|
|
|
|
It's amzing. I've found the data in that settings file. Thanks.
|
|
|
|
|
Hi all,
i working on dialog box application ,here the main dialog box have some buttons and some other controls,
on clicking on on buttong any other child dilaog box is open ,when any child dialog box is open main dialog box is not accessible,
but in my case at certain point on dialog is open by running thread over the main dialog box,and when this is open he main dialog is accessible when one child dialog box is open over it, and oter buttond and dialog box also working on this condition,
i m using EnableWindow(0) for main dialog when open the child dialog box from thread but its not working.
please help me how can i solve this.
i want when any child dialog is open over the main dialog box the main dialog sholud not be accessible.
thanks in advance.
|
|
|
|
|
Simply make the child dialog a modal dialog.
This way the parent dialog will become inaccessible when the child dialog is visible.
If using MFC, call the DoModal method to display a modal child dialog.
If not using MFC, call the DialogBox API to display a modal child dialog.
|
|
|
|
|
Le@rner wrote: when any child dialog box is open main dialog box is not accessible,
That is as it should be. If you want to be able to access the parent, then you need to make the child dialogs modeless.
The best things in life are not things.
|
|
|
|
|
You can make a modeless dialog by API CreateDialog, which when open giveS you the ability to access both the parent window and child dialog box.
|
|
|
|
|
i need code of window base calculator which can do operations upto 32 digits which is possible by huge integers or real...can anyone help?????
|
|
|
|
|
We will be glad to help.
Tell us what you have done so far, and we will try to answer questions you have.
|
|
|
|
|
...that may be too much work for him...
|
|
|
|
|
i have done it with huge integers so far but there is a problem that when i operate anyt function like adding or multiplying there become a dot after my answer and when i try to write again a new value that become written after that dot and previous answer stays on screen. what should i do???
|
|
|
|
|
Without snippet of code, this will be very difficult to answer (and please don't post the full code, only relevant snippets).
Did you try to use your debugger ?
|
|
|
|
|
Send a letter to the Microsoft, asking for the source code of their calculator application.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
i have done it with huge integers so far but there is a problem that when i operate anyt function like adding or multiplying there become a dot after my answer and when i try to write again a new value that become written after that dot and previous answer stays on screen. what should i do???
|
|
|
|
|
You need to be a bit clearer on what you want. "32 digits" implies decimal digits but I suspect you may bew talking about 32-bit numbers (ie 32 binary digits) or perhaps 32 hex digits. Also do you just want to calculate using these large numbers or do you want code for a calculator type program with buttons etc.
My best guess is that you just want to do calculations on big integers up to 32 hex digits (128-bits). These sorts of numbers are use in things like encryption. I have used the code in this article with success: C++ Integer Class[^].
Andrew Phillips
http://www.hexedit.com
andrew @ hexedit.com
|
|
|
|
|
I have fetched unicode data from microsoft database access in cstring variale as below
_variant_t dataHnd;
CString data2;
dataHnd=pRecordset_Objectiv->GetCollect("Meaning");
data2=dataHnd.bstrVal;
but in data2 variable ???? shows instead of hindi unicode data.
plz anyone tell me how i can get hindi unicode data in string variable
|
|
|
|
|
You can use the code like this also...
<br />
TCHAR szMsg[256];<br />
_tcscpy(szMsg,OLE2T(dataHnd.bstrVal));<br />
I hope this might help you...
|
|
|
|
|
Do you have _UNICODE and UNICODE defined in your project configuration? These will force CString to wide character.
|
|
|
|
|
Hi,
I need to add a log viewer in my application but as well as I need to put a buttons on top. How can I do that?
|
|
|
|
|
Use visual studio resource editor.
|
|
|
|
|
You really should provide more information if you want a useful response.
Is the viewer going to be in a modal/modeless dialog or a separate program and have you considered these alternatives?
Are the buttons you want to add going to be in a tool bar, plain buttons or owner drawn?
Keep it simple
dex
|
|
|
|
|
I noticed that the main.cpp in a Qt application has to contain the following line:
QApplication app(argc, argv).
I know that argc is the number of command-line arguments, and argv is that array list of command-line arguments. But, the question in my mind is: what are those arguments I'm passing to the constructor and at the same time cannot explicitly see? What is working behind the scences out there?
Thanks.
|
|
|
|
|
Abder_Rahman wrote: what are those arguments I'm passing to the constructor and at the same time cannot explicitly see?
Could you clarify your question? As far as I can see the only arguments passed to the constructor are argc and argv , which are the command line arguments, there is nothing hidden.
The best things in life are not things.
|
|
|
|
|
I mean what arguments we have to pass.
|
|
|
|
|
it wouldn't surprise me if there were some esoteric QT command line params, but I'd guess that QTapplication consumes them so you can query the application object for them later
|
|
|
|
|
Abder_Rahman wrote: I mean what arguments we have to pass.
Whatever you want. See also the answer below by Maximilien.
The best things in life are not things.
|
|
|
|