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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rmullen3

    What's wrong with this code...?

    This is a chaotic equation program I made, and it works fine- the problem is, there's something wrong with the Do { } while ( ) loop. If you run the program, and say, enter .0000000008 and then 60 (it doesn't matter, the first number has to be between 0 and 1), it'll display the output of the...
  2. rmullen3

    Keyboard Input: More Evil Than Britney Spears

    Yes, it works now. Thank ye's for everybody :D
  3. rmullen3

    Keyboard Input: More Evil Than Britney Spears

    Here's my updated code: { // TODO: Add your message handler code here and/or call default char lsChar; HCURSOR lhCursor; lsChar = (char)nChar; if (lsChar = ‘A’) { lhCursor = AfxGetApp()->LoadStandardCursor(IDC_ARROW); SetCursor(lhCursor); }...
  4. rmullen3

    Keyboard Input: More Evil Than Britney Spears

    I changed it to a single equation mark (although I thought in C++ = is used to assign value while == is used in comparison), and I changed the other part to lsChar = (char)nChar; Yet, I still receive: C:\My Documents\Cppsp\Keyboard\KeyboardDlg.cpp(183) : error C2018: unknown character '0x91'...
  5. rmullen3

    Keyboard Input: More Evil Than Britney Spears

    ACK! ARGH! I was learning VC++ smoothly, quickly, and I was doing great... Then, I get to keyboard input and BAM! I'm stuck. Here's what I do: ClassWizard. Add Function, WM_KEYDOWN. Edit WM_KEYDOWN's code. After the TODO, char lsChar; HCURSOR lhCursor; lsChar = char(nChar)...

Part and Inventory Search

Back
Top