Click here to Skip to main content
Rate this: bad
good
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 8:19am
Comments
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 Sergey Alexandrovich Kryukov 609
1 OriginalGriff 587
2 Maciej Los 325
3 Mathew Soji 195
4 BillWoodruff 190
0 OriginalGriff 7,356
1 Sergey Alexandrovich Kryukov 6,712
2 DamithSL 5,461
3 Manas Bhardwaj 4,916
4 Maciej Los 4,475


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 8 Jun 2014
Copyright © CodeProject, 1999-2014
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