Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by oinky

  1. oinky

    Scrolling in TreeView on drag and drop

    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...
  2. oinky

    weird c++ error

    hi i have an error from my c++ compiler that says &quot;Invalid combination of type identifiers&quot; 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...
  3. oinky

    C++Book suggestions

    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...
  4. oinky

    cin problems (newbie)

    oops i was wrong heh. I misunderstood the question then made an assumption on cout. Sorry bout that.
  5. oinky

    cin problems (newbie)

    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...
  6. oinky

    mouse event functions in vc++

    o i get it now. Thanks. i guess there are some controls in mfc where i just cant code up what the mouse event clicks.
  7. oinky

    mouse event functions in vc++

    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...
  8. oinky

    getting host name and mounting drives

    Thanks! the GetComputerName function works great
  9. oinky

    getting host name and mounting drives

    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.
  10. oinky

    Memory Map IO problems

    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...
  11. oinky

    problems making system calls

    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.
  12. oinky

    problems making system calls

    Hi all, i am having problems making a system call to run notepad.exe. I did system(&quot;notepad.exe&quot;); 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...
  13. oinky

    Linking windows help file to vc++ app

    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.
  14. oinky

    How to use Memory Map IO

    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...
  15. oinky

    Slow Video Display problem, maybe DDCAPS.dwCaps prob?

    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...

Part and Inventory Search

Back
Top