|
|
Why does all Username // Password things say to use Solution Explore? What the hell is it? And where can i find it?
According to MSDN its in Visual Studio... Can i access it in Microsoft Visual C++ 6.0 Compiler? How?... will it do any good with logging onto//creating accounts on a server or is it just based on the users comp?
Im So Lost...
/* Just a Human Trying to Live in a Computers World. */
|
|
|
|
|
Hi,
I want to calculate the used disk space for a particular folder or the given path. In my knowledge two API's avilable in VC++.
1. GetDiskFreeSpaceEx
2. using LPWIN32_FIND_DATA (FindFirstFile, FindNextFile)
if we use GetDiskFreeSpaceEx, it gives the root directory space only.
Suppose i want to calculate the used space in F:\xx\yy\zz means i have to use
recursive search for all the subfolders using FindFirstFile, FindNextFile and calculate the used space using LPWIN32_FIND_DATA structure. It takes more time.
Is there any other option avilable to get the directory space immediately.
Like Any Folder -> Right click -> Properties --- The windows give quick result. Windows also using some searching concept but they done quickly, I think they updated the information every time somewhere it may be registry or Shell.
Is anybody having any idea about ... plz write...........
Your valuable suggestions are always welcome ......
Regards,
inbha.
|
|
|
|
|
make the magic wand tool of photoshop using visual C++ for my bachelor degree,I am a beginner,
any good ideas?thanks a lot
|
|
|
|
|
LOOOOOOL, that is really a good joke!!!
Do you really expect us to write the software for your degree?
That is your homework, if you can't handle it, you will fail.
Don't try it, just do it!
|
|
|
|
|
no,I just ask for some suggestions
|
|
|
|
|
You have to learn BITMAP before proceeding to Magic Wand Tool!.
Actually after Learning BITMAP headers/ColorPalette etc, you could handle each pixel of image, which is starting point for you magic wand tool. it's little tough!!
[Vote One Here, Complete my Survey....]
Alok Gupta visit me at http://www.thisisalok.tk
"I Think Believe this Will Help"
|
|
|
|
|
please recommend some books related to this subject for reference.thanks!
|
|
|
|
|
Your BACHELOR degree, and you're a BEGINNER ? That restores my faith in the future.
As has been said, if you can't do your own work, you don't deserve your degree.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
bachelor degree and a beginner,that's not so funny,as I major in optics,not computer science
|
|
|
|
|
OK - in that case, one has to ask why you've been asked to write a magic wand tool in C++.
As I understand it, the magic wand is useless by itself ( according to the explanation I've just been given ), it marks an area on which other filters are applied. If I was going to impliment a magic wand, I reckon I'd make a mask bitmap, make it all white, and make the area that is drawn on the main image a black area on the bitmap. Then whatever filters, etc. I applied, I'd iterate through the rectangle that the bounds of that drawn area was contained in, and check for black pixels before processing pixels on the main image.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
good idea!but it is only suitable for monochrom image.I reckon I could make the selection according to the RBG value of each pixel.the problem is how to make the scroll boundary indicating the selection.
|
|
|
|
|
stammer wrote:
but it is only suitable for monochrom image.
No, it's not. The MASK is 1 bit, the image doesn't have to be.
stammer wrote:
the problem is how to make the scroll boundary indicating the selection.
I'm not sure what you mean ? To draw the selected area ? You build a path object as you drag the mouse and then draw it.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
I mean how to draw the boundary of the selection
|
|
|
|
|
Yeah, that's what I meant as well
The only way to know where the boundary is, is to store the mouse position, every time the mouse moves during selection. If you store those values into an array, there are methods you can call in order to turn those points into a line, which is exactly what you need.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
Assuming you have successfully implemented the "magic wand" selection part (i.e. you know which pixels in the bitmap match your selection criteria and sensitivity) you could build a temporary 1 bit monochrome bitmap with all "selected" pixels of value 1 and all unselected pixels of value 0 then run an edge detection algorithm on it and trace the edge onto your original bitmap (or onto a transparent layer above it)
Steve T
|
|
|
|
|
Hi All,
I'm doing on a project that requires to write the function delay for exact every us.
Please, help me!
Regards.
Grenouille
|
|
|
|
|
|
Hi All,
I need to know how to download CxImage class. I came across this only today, so you can guess I am a new programmer. Please tell me where to get this class from. The link provided in this FAQ opened thi class but I couldn't download the complete class.
Please help.
Awasthy
|
|
|
|
|
|
I don't think he is active here any more try his website:-
http://www.xdp.it/cximage.htm
"An education isn't how much you have committed to memory, or even how much you know. It's being able to differentiate between what you do know and what you don't." - Anatole France
|
|
|
|
|
Thank you both.
Awasthy
Any work that is worth doing is worth doing well.
|
|
|
|
|
Hi all,
I am a new VC++ programmer. I need to acess a bmp file and read its pixels but urgently I need to know how to display an image on the screen whose path is chosen by browsing throgh the file system.
Please Help
Awasthy
|
|
|
|
|
Use ::LoadImage() ... look it up in MSDN. Hope this helps.
- tareq
|
|
|
|
|
Hi
I have the path of the image and its handle using LoadImage() but how do I display it?
No picture is being displayed.
Awasthy
Any work worth doing is worth doing well.
|
|
|
|