Hi I am using Visual C# on .NET 2005. I have a treeview in which i have implemented drag and drop and it works correctly. Currently I am trying to implement the auto scroll up and down when the user drags a node near the top or the bottom of the tree. Can anyone give me some ideas on how to do...
hi i have an error from my c++ compiler that says
"Invalid combination of type identifiers"
I have no idea what that means and can't seem to get anywhere.
It says the error is at the line of my class declaration
class My_Class <-- fails here
{
public: ...
...
...
}
im using the...
I usually do all my programming research online. However, I want to buy a good solid c++ book for reference. Does anyone have good suggestions for a solid c++ book. Im not looking for a beginner's book. I'm looking for something that is almost like a reference with good sample code. I was...
Your problem is not in the cin, but rather the last cout statement. You cannot do computations while doing a cout. I rewrote the last part of the code and it works.
int OASDI_avg = OASDI / WeekWage;
int medicare_avg = Medicare / WeekWage;
int fed_avg = Federal / WeekWage;
int...
Hi I am having a problem with the calling of this function:
OnLButtonUp(UINT nFlags, CPoint point)
My GUI has a display area with some controls on it such as buttons, edit boxes etc. I am trying to trap the event when the user clicks the left mouse button and when the user lets go of the left...
Hi in visual c++, how do you find out the hostname of the machine that the code is running on? Also is there a way to mount a network drive through c++? i am on an NT4 sp6a system. Thanks in advance.
Hi all, I am trying to use this concept of memory map IO to write data to disk at fast speeds. My program is time sensitive so it has to write a certain amount of data in a certain amount of time. It has to write a frame of data which is about 128k in less than 60 milliseconds. This has to be...
it works good thanks. But in the parameter where you put the file to run, it expects absolute path meaning i have to hardcode the path. I wonder if there is a way to use relative path? please help thanks.
Hi all, i am having problems making a system call to run notepad.exe. I did
system("notepad.exe");
this runs ok, but it pops up a dos window in the background which i do not know how to disable.
Ive tried using the _exec functions namely _execv and _execl, but they seem to not run...
Hi I used a freeware program called shalom help maker to make a windows help file for my vc++ 6 MFC application. This freeware program created a .hlp file and bunch of other files. Now my question is how do i link this hlp file to my application so my app can use this hlp file? Please help thanks.
Hi does any1 have samples or examples of writing a file out using Memory Map IO? I need to write a file out using very little cpu usage so I heard that Memory Map IO works well. I have some code I tried and it is able to write out a char*. But I cannot write out a file of integers or other...
Hi here is my situation. My application takes a bitmap and displays it to the screen in windowed mode(ie not fullscreen). The display was working fine and video was being updated very fast. However, something happened and my program crashed. Now when i run the program again, the video is being...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.