Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi, every body!
I am coding a SDI program named CustomNotepad. My CustomNoteView is derived from CFormView class. I added an edit box on design form of the program. I want to resize size of the edit box to fit the client of my program, so I tried to handle WM_SIZE but there are some bug as Debug Assert... Can I help me?
Posted

1 solution

Quote: "but there are some bug as Debug Assert". Unless you show the exact message you received, and where in the code it occurred, we cannot help. People cannot guess what happened in your program.
 
Share this answer
 
Comments
duong2179 21-Sep-10 13:39pm    
Thank you! I found a solution. I will edit OnDraw() method but not handle WM_SIZE. Thanks for commenting!

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900