Thread: Intercepting Window Messages?

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    7

    Question Intercepting Window Messages?

    Ho would i intercept windows messages? like the one for close. Alos, how can i change a window like if it has a maximize box or not...

  2. #2
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    intercept messages with message hooks.

    change window maximize box with SetClassLong for the style
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    7

    but...

    can i have an example of code?

  4. #4
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    perhaps...

    if someone else is willing to write it for you.

    But I've given you enough info to find it at http://msdn.microsoft.com/library
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    7
    oh, nevermind, i'll just ask people who know exactly what i need, which is about 1 user on this forum.

  6. #6
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    I am aware what you need, but I don't have time to write an example that can be found on MSDN http://msdn.microsoft.com/library/de...dowshookex.asp

    http://msdn.microsoft.com/library/de...tClassLong.asp
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  3. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  4. My Window Class
    By Epo in forum Game Programming
    Replies: 2
    Last Post: 07-10-2005, 02:33 PM
  5. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM