Custom Drawn Dialog
-
Hi, I am trying to implement my own dialog with its own style and myDialog wraps CDialog. All works fine except Title bar buttons: http://img517.imageshack.us/img517/2269/mydialoggv0.jpg[^] (as you see on the picture) When i minimize or maximize myDialog, some times its CDialog is drawing its titlebar buttons above my buttons. Does anyone knows anything about this? Thanks, Cem
-
Hi, I am trying to implement my own dialog with its own style and myDialog wraps CDialog. All works fine except Title bar buttons: http://img517.imageshack.us/img517/2269/mydialoggv0.jpg[^] (as you see on the picture) When i minimize or maximize myDialog, some times its CDialog is drawing its titlebar buttons above my buttons. Does anyone knows anything about this? Thanks, Cem
you can remove WS_MINIMIZEBOX and WS_MAXIMIZEBOX style for Dialog. then draw them youself.
Are you have gtalk ? please add me: xiangyangzhao@gmail.com
-
Hi, I am trying to implement my own dialog with its own style and myDialog wraps CDialog. All works fine except Title bar buttons: http://img517.imageshack.us/img517/2269/mydialoggv0.jpg[^] (as you see on the picture) When i minimize or maximize myDialog, some times its CDialog is drawing its titlebar buttons above my buttons. Does anyone knows anything about this? Thanks, Cem
Hai Cem, I just wnat to know how to implement our own dialog with its won style such as different buttons, different background. I would appriciate if you can provide me any sample code link.
Saadhinchaali