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. General Programming
  3. C / C++ / MFC
  4. PM_QS_PAINT question.

PM_QS_PAINT question.

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
12 Posts 3 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.
  • C Christian Graus

    Michael Liu wrote: PM_QS_PAINT or some other values to specify that only certain message should be processed. Never heard of it. Are you sure it's not an example of a user defined message ? Michael Liu wrote: I got compile warning:'AllowSetForegroundWindow' undefined I have never heard of this either. MSDN says it's defined for Windows ME and 2000 only ( I presume XP has it as well ). This means that any code that uses it will not run on W95/98/98SE/NT and also means you'll need to download the platform SDK ( about 500 MB, also available on CD ) in order to use it. Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002

    M Offline
    M Offline
    Michael Liu
    wrote on last edited by
    #3

    PM_QS_PAINT : MSDN give us four values to specify that only certain message should be processed. Do you know how to specify those values? 1. PM_QS_INPUT Windows 98/Me, Windows 2000/XP: Process mouse and keyboard messages. 2. PM_QS_PAINT Windows 98/Me, Windows 2000/XP: Process paint messages. 3. PM_QS_POSTMESSAGE Windows 98/Me, Windows 2000/XP: Process all posted messages, including timers and hotkeys. 4. PM_QS_SENDMESSAGE Windows 98/Me, Windows 2000/XP: Process all sent messages. AllowSetForegroundWindow(): But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Thx. mIchAel Liu

    C M 2 Replies Last reply
    0
    • M Michael Liu

      PM_QS_PAINT : MSDN give us four values to specify that only certain message should be processed. Do you know how to specify those values? 1. PM_QS_INPUT Windows 98/Me, Windows 2000/XP: Process mouse and keyboard messages. 2. PM_QS_PAINT Windows 98/Me, Windows 2000/XP: Process paint messages. 3. PM_QS_POSTMESSAGE Windows 98/Me, Windows 2000/XP: Process all posted messages, including timers and hotkeys. 4. PM_QS_SENDMESSAGE Windows 98/Me, Windows 2000/XP: Process all sent messages. AllowSetForegroundWindow(): But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Thx. mIchAel Liu

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #4

      Michael Liu wrote: PM_QS_PAINT Ah.. I did not know about it because I've never used it. Apart from GDI+ and transparent windows, I don't think I've ever used anything that requires the SDK. Look at the requirements you just posted and you'll realise I've answered your question. You need the SDK. Michael Liu wrote: But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Not true. "Minimum operating systems Included in Windows 95, Windows NT 3. " Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002

      M 2 Replies Last reply
      0
      • M Michael Liu

        PM_QS_PAINT : MSDN give us four values to specify that only certain message should be processed. Do you know how to specify those values? 1. PM_QS_INPUT Windows 98/Me, Windows 2000/XP: Process mouse and keyboard messages. 2. PM_QS_PAINT Windows 98/Me, Windows 2000/XP: Process paint messages. 3. PM_QS_POSTMESSAGE Windows 98/Me, Windows 2000/XP: Process all posted messages, including timers and hotkeys. 4. PM_QS_SENDMESSAGE Windows 98/Me, Windows 2000/XP: Process all sent messages. AllowSetForegroundWindow(): But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Thx. mIchAel Liu

        M Offline
        M Offline
        Michael P Butler
        wrote on last edited by
        #5

        Michael Liu wrote: AllowSetForegroundWindow(): But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). It looks like AllowSetForegroundWindow is a newer function. Have you got the latest platform SDK or are you still using the headers that came with VC6? Michael :-) Look, try and use your intelligence, man, even if you are a politician. - The Doctor

        M 1 Reply Last reply
        0
        • M Michael P Butler

          Michael Liu wrote: AllowSetForegroundWindow(): But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). It looks like AllowSetForegroundWindow is a newer function. Have you got the latest platform SDK or are you still using the headers that came with VC6? Michael :-) Look, try and use your intelligence, man, even if you are a politician. - The Doctor

          M Offline
          M Offline
          Michael Liu
          wrote on last edited by
          #6

          I'm using the headers that comes with VC6(sp5). I have MSDN(Jan. 2002). Is the SDK in that CD? Thx. mIchAel Liu

          M 1 Reply Last reply
          0
          • C Christian Graus

            Michael Liu wrote: PM_QS_PAINT Ah.. I did not know about it because I've never used it. Apart from GDI+ and transparent windows, I don't think I've ever used anything that requires the SDK. Look at the requirements you just posted and you'll realise I've answered your question. You need the SDK. Michael Liu wrote: But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Not true. "Minimum operating systems Included in Windows 95, Windows NT 3. " Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002

            M Offline
            M Offline
            Michael Liu
            wrote on last edited by
            #7

            Thx. mIchAel Liu

            1 Reply Last reply
            0
            • M Michael Liu

              I'm using the headers that comes with VC6(sp5). I have MSDN(Jan. 2002). Is the SDK in that CD? Thx. mIchAel Liu

              M Offline
              M Offline
              Michael P Butler
              wrote on last edited by
              #8

              If you have an MSDN subscription other than the Library, you should have a CD with the platform SDK. If you only have a library subscription you'll need to obtain the platform SDK from the MSDN site. Michael :-) Look, try and use your intelligence, man, even if you are a politician. - The Doctor

              M 2 Replies Last reply
              0
              • M Michael P Butler

                If you have an MSDN subscription other than the Library, you should have a CD with the platform SDK. If you only have a library subscription you'll need to obtain the platform SDK from the MSDN site. Michael :-) Look, try and use your intelligence, man, even if you are a politician. - The Doctor

                M Offline
                M Offline
                Michael Liu
                wrote on last edited by
                #9

                Thx. mIchAel Liu

                1 Reply Last reply
                0
                • M Michael P Butler

                  If you have an MSDN subscription other than the Library, you should have a CD with the platform SDK. If you only have a library subscription you'll need to obtain the platform SDK from the MSDN site. Michael :-) Look, try and use your intelligence, man, even if you are a politician. - The Doctor

                  M Offline
                  M Offline
                  Michael Liu
                  wrote on last edited by
                  #10

                  I've installed the latest SDK, how can I updated the vc6 include file? Just copy those files? Thx. mIchAel Liu

                  1 Reply Last reply
                  0
                  • C Christian Graus

                    Michael Liu wrote: PM_QS_PAINT Ah.. I did not know about it because I've never used it. Apart from GDI+ and transparent windows, I don't think I've ever used anything that requires the SDK. Look at the requirements you just posted and you'll realise I've answered your question. You need the SDK. Michael Liu wrote: But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Not true. "Minimum operating systems Included in Windows 95, Windows NT 3. " Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002

                    M Offline
                    M Offline
                    Michael Liu
                    wrote on last edited by
                    #11

                    I've installed the latest SDK. How can I use the latest SDK with VC6? Thx. mIchAel Liu

                    C 1 Reply Last reply
                    0
                    • M Michael Liu

                      I've installed the latest SDK. How can I use the latest SDK with VC6? Thx. mIchAel Liu

                      C Offline
                      C Offline
                      Christian Graus
                      wrote on last edited by
                      #12

                      Wow - you must have an MSDN subscription. The SDK should set up it's paths so that it is automatically integrated with VC. Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002

                      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