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

    $variable vs. variable?

    No, neither produced any error messages. The way without the '$' symbols worked as I expected, and the one with the '$' symbol didn't *appear* to change anything (the page reloaded displaying the same thing) Since then I have found ways to work with the 'proper' notation, and while I don't...
  2. ProgramminFool

    $variable vs. variable?

    This code shows what I expect: a submit button which when pressed will load the same page again with the words 'Submit was pressed' only appearing. When I try this with $hasPassed instead of hasPassed, which is the way I thought I was 'supposed' to write PHP, it doesn't work... Suggestions...
  3. ProgramminFool

    GDI problem: CreateSolidBrush

    do you want to write some actual code here? that may help i'm not an expert on these things, but have you checked to make sure you are releasing the DC at the correct time? good luck, this stuff ain't easy... ------------------------------------------------- “Talent is cheap, dedication is...
  4. ProgramminFool

    OnKeyDown (WM_KEYDOWN) in dialog based app

    I think I understand that much; I know how to use a switch statement or if statement to determine the VALUE of nChar. However, if one does as I say, the message will appear no matter what key is pressed - nChar is not checked...so shouldn't the WM_KEYDOWN message be passed to my dialog box no...
  5. ProgramminFool

    OnKeyDown (WM_KEYDOWN) in dialog based app

    I create a MFC Dialog based app in MSVC++6 I get rid of all the controls (label, two buttons) I add a windows message handler for WM_KEYDOWN I change it so it shows a message with AfxMessageBox("Hello", NULL, NULL); Then I compile and run the program If I press an arrow key...
  6. ProgramminFool

    Windows - WinMain, MsgHandler, WinProc...

    Thank you very much for responding, your post and further reading have straightened this matter out for me. Have a good day BGrego! ------------------------------------------------- “Talent is cheap, dedication is expensive. It will cost you your life.”
  7. ProgramminFool

    Windows - WinMain, MsgHandler, WinProc...

    No revolutions :) I thought messages were automatically sent to your WndProc function. Then I saw the loop with GetMessage, TranslateMessage, and DispatchMessage. So two questions: 1) Does a windows message go automatically to your WndProc function? 2) Does the Get,Translate,Dispatch loop have...
  8. ProgramminFool

    Windows - WinMain, MsgHandler, WinProc...

    I am moving (trying to!) from C++ console apps to windows apps. I have looked at some textbooks, and they explain that you need WinMain, sort of in place of main, and also a message handler or pump or something. I understand that windows are sent messages and that it is generally a good idea to...
  9. ProgramminFool

    Challenges...

    I understand that it sounds pretty strange, so I'll tell you what I'm interested in. I want to model protein structures (three dimensions), which is fairly ambitious for someone who has only programmed in C++ for 2 weeks... So I decided not to say, "How can I represent 3d electron...
  10. ProgramminFool

    Challenges...

    I'm not entirely new to C++, but I need 'general' help... Instead of reading dry manuals and the like, I want to improve my skills by practising on simple programs. So my question to you is: do you have any challenges for me, or other fairly new programmers, to improve our skills? Not Olympiad...

Part and Inventory Search

Back
Top