Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. You *must* focus!

You *must* focus!

Scheduled Pinned Locked Moved The Weird and The Wonderful
6 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    to_be_defined
    wrote on last edited by
    #1

    void CWhatever::OnOK()
    {
    CWnd* pWnd = GetFocus();

    if (pWnd)
    pWnd->SetFocus();

    CTabPage::OnOK();
    }

    The function was appropriately commented with a Doxygen comment stating "OK. This method is called by the framework when the user chooses the OK button."

    P C P C 4 Replies Last reply
    0
    • T to_be_defined

      void CWhatever::OnOK()
      {
      CWnd* pWnd = GetFocus();

      if (pWnd)
      pWnd->SetFocus();

      CTabPage::OnOK();
      }

      The function was appropriately commented with a Doxygen comment stating "OK. This method is called by the framework when the user chooses the OK button."

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      :wtf:

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

      1 Reply Last reply
      0
      • T to_be_defined

        void CWhatever::OnOK()
        {
        CWnd* pWnd = GetFocus();

        if (pWnd)
        pWnd->SetFocus();

        CTabPage::OnOK();
        }

        The function was appropriately commented with a Doxygen comment stating "OK. This method is called by the framework when the user chooses the OK button."

        C Offline
        C Offline
        CPallini
        wrote on last edited by
        #3

        That's the reason C++ is called an IMPERATIVE LANGUAGE. :-D BTW it reminds my another (already posted) horror:

        If a=1 And a<>2 And a<>3 Then

        :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
        [My articles]

        1 Reply Last reply
        0
        • T to_be_defined

          void CWhatever::OnOK()
          {
          CWnd* pWnd = GetFocus();

          if (pWnd)
          pWnd->SetFocus();

          CTabPage::OnOK();
          }

          The function was appropriately commented with a Doxygen comment stating "OK. This method is called by the framework when the user chooses the OK button."

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          Sorry - losing focus now. Need caffeine.

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          Y 1 Reply Last reply
          0
          • P Pete OHanlon

            Sorry - losing focus now. Need caffeine.

            Deja View - the feeling that you've seen this post before.

            My blog | My articles

            Y Offline
            Y Offline
            Yusuf
            wrote on last edited by
            #5

            No, caffeine or no caffeine, you *must* focus, NOW...

            Yusuf

            1 Reply Last reply
            0
            • T to_be_defined

              void CWhatever::OnOK()
              {
              CWnd* pWnd = GetFocus();

              if (pWnd)
              pWnd->SetFocus();

              CTabPage::OnOK();
              }

              The function was appropriately commented with a Doxygen comment stating "OK. This method is called by the framework when the user chooses the OK button."

              C Offline
              C Offline
              cpkilekofp
              wrote on last edited by
              #6

              :confused:... :wtf: ... :omg: ... :doh:

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups