|
is right - what the hell are you talking about ?
Guessing wildly as to what you may be asking, C# is a new lagnuage which owes more to Java than C++, it does not have MFC.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
|
|
|
|
|
I took it to mean "what will happen to MFC after .NET?".
MFC will continue to be around for a good while, so don't worry.
Simon
There's one for you, nineteen for me
Sonork ID 100.10024
|
|
|
|
|
MFC 7.0
It did not go away since C# and C++.NET came out. Micro$oft just made some bug fixes and enhancements and bumped up the version number.
|
|
|
|
|
Hi !
My App has an Explorer-like interface, with a leftview and a rightview. The leftview is a Tree control and the right view is a List control. I overrides the OnContextMenu function in each view to display a popup menu.
I have something weird : when I right click in the right pane, my popup menu appears normally. When I right click in the left pane, the menu doesn't appear. But, if I right click in the left pane, move the mouse with the right button still pressed and after that, release the right button, the pop up menu appears !!!! In my code, I handle the OnContextMenu the same way in the left view as in the right view !
Does anyone know what could be the problem ?
Thank you !
Jerome
|
|
|
|
|
How to make to select graphically, on Bitmap or another graphic format, a nongeometric zone? I would like, in fact, to represent France with these department in a graphic control and to be able to select department with the mouse. I thought of using the CRgn for the zone of selects but I wish resizing dynamically France?
How can I make?
To forgive my English
|
|
|
|
|
In what way would you like to resize the region? Expand and contract or some other way?
There is no support in WIN32 to automatically grow or shrink a region, but there are things that you could probably do. If you give some more information I could suggest a technique.
|
|
|
|
|
I wish to represent France with his departments in a control dockable in an application MFC SDI. Control is thus resizable and I wish to be able to select graphiquemlent each departments with the mouse.
A simple right clic of the mouse on France control returns me the department selected and allows me to work with this one. But I wish that the graphics of France into dockable control may be resizing automatically.(Like the autoresize in ACDSee). I seek just a method to detect on which department clicked.
|
|
|
|
|
I would suggest creating a outline of France with line segments, it could be something very simple with 20 or so line segments.
After you have the line segments, this will be your template for your region outline. You can create a region from these line segments by first Creating a Path. To create a path you need to have a DC that you will draw on and call BeginPath. Then you would draw the line segments on the DC just like you were drawing the outline, but instead of displaying these lines, windows will add these lines to the current Path of the DC. To complete the Path call EndPath.
Now that you have a path you can call PathToRegion on the DC. This will give you the region that you seek.
In order to scale the region, simply start over with the line segments that you have, and it will have a base size say 100x100 pixels. When you get the notification to resize the region to a 200x200 region, calculate the scale difference between the base size and the target size, make a copy of your line segments and scale them by this factor. Then repeat the steps above to create the region.
|
|
|
|
|
Ok, I've tried to install/build STLport on VC6 without sucess .. have gone through STLport forums, etc. and nope.
I know many of you are using STLport and was hopeing if someone who has sucessfully build it could write what they did to get it working.. Where you put the directory when you performed the build, modified #defines or values in any of the STLport config files that needed to be done, what nmake command you ending up typing (nmake params passed in?).
Thanks in advance, I've tried several things and am still trying new things .. but if somebody already has the answer ...
Travis D. Mathison ---
--- After three days without programming, life becomes meaningless ...
|
|
|
|
|
As I recall I trawled the support groups to no avail, reread the docs and realised I needed to change a #define, then all was well. I don't recall the details though - I'd suggest a thorough read of the instructions, because I know that's the step I assumed I could gloss over.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
|
|
|
|
|
Lol, yep Christian .. sure enough I read over it a little more carefully and I'm now up and running ready to go!
Travis D. Mathison ---
--- After three days without programming, life becomes meaningless ...
|
|
|
|
|
I want to debug my ActiveX ,How can I do that?
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
Is this a control that you have written?
If so, when you hit F5, devstudio will ask you what app that you want to debug in, choose the ActiveX Control Test Container.
After you do that then you will need to create a new object that is your object. Once you create your object, you eill be able to set break points in the debugger.
Then there are settings that you can change in the ActiveX control test container in order to invoke all of the member functions of your object.
|
|
|
|
|
Thanks,I got the point
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
Hi,
I'm just starting out on VC++. I'm trying to get my head around the SDI. I know that the CView derived class is meant to be where the display is. How do I make the CView a dialog? For the dialog exe generated from the wizard, there is a nice gui to drag and drop controls. Where is this for the SDI?
a simple sample that shows how a control (eg. text box?) can be added to CView would be great!
|
|
|
|
|
|
Can anyone elaborate or give me an example to download?
|
|
|
|
|
Ahh.. got it there is a drop down box in the wizard. Damn this architecture is so confusing. Is there any where online that teaches you this without wizards? I want to know what the heck these wizards generate and how i can do it myself so I can get a better understanding.
|
|
|
|
|
I am still wondered by seeing some email utility senting spam
that hides the IP address using a proxy server
example
http://mailinglistmaster.com/index.cfm?action=proxylist
anybody have any idea what thay doing or which protocol they using?
anyway i am montitoring the TCP/IP events
i am not interested in writing a spam utility
but just curious,so help me if u can
hirosh
|
|
|
|
|
I want to do:
I can STOP the operation when a user delete some files or folders in a Win9x/Me/NT/2000 System.
How I do it? (xia0830@cmmail.com)
|
|
|
|
|
Write a copy hook extension. It will get called before every copy/move/delete operation, and you can cancel the operation or let it proceed.
--Mike--
"There are three things I can never remember, 1: um... 2: um... 3: um..."
-- Victor Borge
My really out-of-date homepage
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan and Jamie Salé.
|
|
|
|
|
I can do for folders.
But, for files?
May you give me some codes?
E-Mail: xia0830@cmmail.com
lx130@sina.com
Thanks!
|
|
|
|
|
hello
i want to know,
1)how to create User DSN in ODBC
2)& how to register .ocx file through install shield for vc++ 6
regards
Chanda.com
|
|
|
|
|
Chanda.com wrote:
how to register .ocx file through install shield for vc++ 6
Mostly they are "self-register",you have to only check that
ocx as self register in your installshield
Chanda.com wrote:
how to create User DSN in ODBC
Check SQLCreateDataSource
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
class string {
public:
string(const char *value);
~string();
private:
char *data;
};
string::string(const char *value)
{
if (value) {
data = new char[strlen(value) + 1];
strcpy(data, value);
}
else {
data = new char[1];
*data = '\0';
}
}
inline string::~string() { delete [] data; }
void donothing1(string localstring) {}
void donothing2(string& localstring) {}
main()
{
string s1 = "the truth is out there";
donothing1(s1);
string s2 = "the truth is out there, too";
donothing1(s2);
}
I'm amumu, and you?
|
|
|
|