|
Does anybody know a way to resize a CFormView derieved class, so that it exactly encloses the dialog resource and no scrollbar are visible?
I tried it on CWnd::SetWindowPos(), but this does only change the size of the View and didn't affect the frame.
--------------------------------------------------
"Pseudocode is code to demonstrate a concept, not designed to be run.
Like certain Microsoft software. "
|
|
|
|
|
I think you should control the size of parent frame to avoid scrollbars. Use WM_GETMINMAXINFO for that.
Tomasz Sowinski -- http://www.shooltz.com
|
|
|
|
|
Does anybody here have faced any problem using Microsoft Visual C++ 6.0 in Windows 2000. It gives all sorts of strange probs like. Upon saving a file it sometime says 'File being used by another process' and some other.
Anyone...
|
|
|
|
|
I use it under W2000 every day with no problems, so the problem is with your setup somewhere. I use SP5.
Christian
#include "std_disclaimer.h"
The careful application of terror is also a form of communication.
Eagles may soar, but weasels don't get sucked into jet engines.
|
|
|
|
|
I've got the same problem, annoying at times, but not so much that I'm driven to find the problem. If anyone else finds an answer that would be great.
|
|
|
|
|
Hello
how can i create two threads that use the same function using the AfxBeginThread()? (i need them both work simultaneous)
can i write something like this:
...
AfxBeginThread(Function, ...)
AfxBeginThread(Function, ...)
...
thanks
|
|
|
|
|
Yes.
You will get two threads running, each with "Function" as its main.
|
|
|
|
|
Maybe works, maybe not.
I would advise you to move Function() into a class (CWinThread derived) and make instances of the class for every thread. There is a second overload for AfxBeginThread, not taking a function pointer as first param, but a CWinThread-object.
Look at http://www.codeproject.com/threads/extended_thread.asp
it demonstrates a similar approch
mfg HintiFlo
|
|
|
|
|
Does anybody here have faced any problem using Microsoft Visual C++ 6.0 in Windows 2000. It gives all sorts of strange probs like. Upon saving a file it sometime says 'File being used by another process' and some other.
Anyone...
|
|
|
|
|
I want to know how to insert jpg images into the resource. because I am unable to place any images into html file
|
|
|
|
|
|
I want to know how to insert jpg images into the resource. because I am unable to place any images into html file
|
|
|
|
|
I want to know how to insert jpg images into the resource. because I am unable to place any images into html file
|
|
|
|
|
I want to know how to insert jpg images into the resource. because I am unable to place any images into html file
|
|
|
|
|
Hai,
I made a program to input .txt into MS Access.The text file is an output of a math program.Fine.
Now another program retrieves the data and displays it in the list control.Not fine.
The problem is the numbers displayed in the list contains an additional point other than the one already present.
When I checked in the database,it was correct ie same as that in the text file but the point gets added in the list control.Why?Whats the point?
The database fields are strings.
This problem occurs only to certain numbers in random.
I am confused.I need to use this in further calculations but it will harm my other calculations.
Help me.
And this,both the programs DONOT work simultaneously.The first was just a tool to help inputting thousands of numbers from text.
Thanx.
|
|
|
|
|
Please elaborate a bit more in terms of code as how ur reading data from the database.. Then maybe some one can help
|
|
|
|
|
Hai,
I made a program to input .txt into MS Access.The text file is an output of a math program.Fine.
Now another program retrieves the data and displays it in the list control.Not fine.
The problem is the numbers displayed in the list contains an additional point other than the one already present.
When I checked in the database,it was correct ie same as that in the text file but the point gets added in the list control.Why?Whats the point?
The database fields are strings.
This problem occurs only to certain numbers in random.
I am confused.I need to use this in further calculations but it will harm my other calculations.
Help me.
And this,both the programs DONOT work simultaneously.The first was just a tool to help inputting thousands of numbers from text.
Thanx.
|
|
|
|
|
Hai,
I made a program to input .txt into MS Access.The text file is an output of a math program.Fine.
Now another program retrieves the data and displays it in the list control.Not fine.
The problem is the numbers displayed in the list contains an additional point other than the one already present.
When I checked in the database,it was correct ie same as that in the text file but the point gets added in the list control.Why?Whats the point?
The database fields are strings.
This problem occurs only to certain numbers in random.
I am confused.I need to use this in further calculations but it will harm my other calculations.
Help me.
And this,both the programs DONOT work simultaneously.The first was just a tool to help inputting thousands of numbers from text.
Thanx.
|
|
|
|
|
Hai,
I made a program to input .txt into MS Access.The text file is an output of a math program.Fine.
Now another program retrieves the data and displays it in the list control.Not fine.
The problem is the numbers displayed in the list contains an additional point other than the one already present.
When I checked in the database,it was correct ie same as that in the text file but the point gets added in the list control.Why?Whats the point?
The database fields are strings.
This problem occurs only to certain numbers in random.
I am confused.I need to use this in further calculations but it will harm my other calculations.
Help me.
And this,both the programs DONOT work simultaneously.The first was just a tool to help inputting thousands of numbers from text.
Thanx.
|
|
|
|
|
Hi.
I'm not about to answer your question, but to remind you, that posting the same message under different titles and more than once (I think I counted at least 10) isn't nice style. If you want to correct a message or add something,
reply on your own message thread. And if you did hit 'Submit' more than once, because it seemed like the server hang, delete the message posted additionally.
--------------------------------------------------
"Pseudocode is code to demonstrate a concept, not designed to be run.
Like certain Microsoft software. "
|
|
|
|
|
Hai,
I made a program to input .txt into MS Access.The text file is an output of a math program.Fine.
Now another program retrieves the data and displays it in the list control.Not fine.
The problem is the numbers displayed in the list contains an additional point other than the one already present.
When I checked in the database,it was correct ie same as that in the text file but the point gets added in the list control.Why?Whats the point?
The database fields are strings.
This problem occurs only to certain numbers in random.
I am confused.I need to use this in further calculations but it will harm my other calculations.
Help me.
And this,both the programs DONOT work simultaneously.The first was just a tool to help inputting thousands of numbers from text.
Thanx.
|
|
|
|
|
for my application i need to develop a component which allows the user to select the table,fields inside the table and based on his selection a sql query needs to be build. This is similar to the query builder in ms-access. Is there any component available for the above purpose or is it possible through some com interfaces.Any pointers, references i can get is most welcome.
thanks in advance.
Cheers
kannan
|
|
|
|
|
we built our own that shows as a dialog box with fields specific to the app we develop that allows users to select various groups of items to filter views by and buils a sql statement based on that
i was going to try and generalize it and post it here but i have no time at the moment what with work committments and all but i will get around to it asap
as for any components that i know of ... unfortunately not ... there are some that you have to pay for ... try posting on the database newsgroups for more details
sorry i cant be more help
---
"every year we invent better idiot proof systems and every year they invent better idiots"
|
|
|
|
|
any constructive idea/discussion is warmly welcome!
i love this site!@
|
|
|
|
|
any constructive idea/discussion is warmly welcome
With all technical details you've provided, I have only one constructive idea: use some synchronization mechanism.
Tomasz Sowinski -- http://www.shooltz.com
|
|
|
|