Thread: Minimize, Maximize and Close button

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    23

    Minimize, Maximize and Close button

    Hi, I'm just curious. Is there a way to get the Window handle (hWnd or CWnd) of Minimize, Maximize and Close button of a window and can we put a bitmap on it? How?


    Thanks,
    If they can, why can't I...

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    i know you can enable/disable them, but i'm not sure if you can get a handle to them.

    why dont you just create a windowthat sits over the top of them, and paint your bitmaps onto that window... catch the mouse click messages and emulate the effects.

    simple as that. good luck
    U.
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    23
    Yeah! Maybe you're right and I found this site:

    www.codeguru.earthweb.com/buttonctrl/ccaptionbutton.html

    Thanks
    Alextrons
    If they can, why can't I...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Menu Item Caption - /a for right aligned Accelerator?
    By JasonD in forum Windows Programming
    Replies: 6
    Last Post: 06-25-2003, 11:14 AM