Click here to Skip to main content
11,790,021 members (58,076 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: MFC/C++
I create a default SDI application and want to modify the CCLassView which is derived from CDockablePane.

I have added a button to the client area but it does not display properly and is not clickable.

I thought that the treeview was rendering over the button, so I changed the treeview to a tree control and resized it to not fill the entire client area. Then I added the button and messagemap for it.

the button is drawn as if it is semi transparent? and no mouse action is available for it. Liek something is being drawn over it?

anyone know what I am doing wrong?

btw, the tree control works just fine and I can resize as desired. it's just that the button is not correct.
Posted 8-Jun-14 7:19am
Wes Aday at 8-Jun-14 14:55pm
Buttons that do not have event handlers assigned to them will behave in this manner.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 1,029
1 Maciej Los 790
2 KrunalRohit 686
3 CPallini 606
4 Richard MacCutchan 460

Advertise | Privacy | Mobile
Web01 | 2.8.1509028.1 | Last Updated 8 Jun 2014
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100